sommaire
Empreinte / reconnaissance
whatweb http://10.10.10.10
curl -sI http://10.10.10.10 # en-tetes (Server, techno, redirections)
nmap -p80,443 --script http-enum,http-headers,http-title,http-methods 10.10.10.10
# toujours regarder : /robots.txt /sitemap.xml code source (commentaires) favicon
Fuzzing répertoires & fichiers
gobuster dir -u http://10.10.10.10 -w /usr/share/seclists/Discovery/Web-Content/directory-list-2.3-medium.txt -x php,txt,html,bak -t 50
feroxbuster -u http://10.10.10.10 -w /usr/share/seclists/Discovery/Web-Content/raft-medium-directories.txt -x php
ffuf -u http://10.10.10.10/FUZZ -w wordlist.txt -e .php,.txt,.html -mc 200,204,301,302,401,403
dirsearch -u http://10.10.10.10 -e php,txt,html
Vhosts / sous-domaines (virtual hosting)
gobuster vhost -u http://domaine.local --domain domaine.local -w subdomains.txt --append-domain
ffuf -u http://10.10.10.10 -H 'Host: FUZZ.domaine.local' -w subdomains.txt -fs <taille_reponse_par_defaut>
# ajouter domaine.local et les vhosts trouves dans /etc/hosts
Scanners de vulnérabilités
nikto -h http://10.10.10.10
nuclei -u http://10.10.10.10
wpscan --url http://10.10.10.10 --enumerate u,ap,at --plugins-detection aggressive
droopescan scan drupal -u http://10.10.10.10 # Drupal
joomscan -u http://10.10.10.10 # Joomla
Fichiers sensibles courants & TLS
curl http://10.10.10.10/.git/HEAD # depot git expose -> git-dumper
curl http://10.10.10.10/.env # secrets
curl http://10.10.10.10/backup.zip
sslscan 10.10.10.10:443 ; ./testssl.sh https://10.10.10.10