## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-TAGOMARU-CVE-2023-36281
# CVE-2023-36281
CVE-2023-36281์ ๋ํ PoC
๋๋ ์ด PoC๋ฅผ ์ฐธ์กฐํ์ต๋๋ค. ์ํ๊น๊ฒ๋ `subprocess.Popen`์ ์ธ๋ฑ์ค๊ฐ Python ํ๊ฒฝ๋ง๋ค ๋ค๋ฅด๊ธฐ ๋๋ฌธ์ ์๋ํ์ง ์์ต๋๋ค. ํ์ง๋ง ์ PoC ์ฝ๋๋ ์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํฉ๋๋ค.
## ์ค์น
`$ pip install -r requirements.txt`
## ์คํ
### 1\. ๊ฐ ํ๊ฒฝ๋ง๋ค ๋ค๋ฅผ ์ ์์ผ๋ฏ๋ก ์์ ์ ํ๊ฒฝ์์ subprocss์ ์ธ๋ฑ์ค๋ฅผ ๊ตฌํ์ธ์.
#### ์
๋ ฅ
`$ python get_index_of_subprocess.py`
#### ์ถ๋ ฅ
root@kitploit:~
subprcess.Popen index: 309.
Replace target_index in attack_prompt.json with this value.