43 - Pentesting WHOIS
Informazioni di base
Il protocollo WHOIS serve come metodo standard per richiedere informazioni sui registranti o detentori di varie risorse Internet attraverso specifiche banche dati. Queste risorse comprendono nomi di dominio, blocchi di indirizzi IP e sistemi autonomi, tra gli altri. Oltre a questi, il protocollo trova applicazione nell'accesso a uno spettro più ampio di informazioni.
Porta predefinita: 43
Enumerare
Ottieni tutte le informazioni che un servizio whois ha su un dominio:
Nota che a volte, quando si richiede alcune informazioni a un servizio WHOIS, il database utilizzato appare nella risposta:
Inoltre, il servizio WHOIS deve sempre utilizzare un database per memorizzare ed estrarre le informazioni. Quindi, una possibile SQLInjection potrebbe essere presente quando si interroga il database per alcune informazioni fornite dall'utente. Ad esempio, eseguendo: whois -h 10.10.10.155 -p 43 "a') or 1=1#"
potresti essere in grado di estrarre tutto le informazioni salvate nel database.
Shodan
port:43 whois
HackTricks Comandi Automatici
Last updated