httprobe icon indicating copy to clipboard operation
httprobe copied to clipboard

Feature request: Scan from masscan or nmap output

Open bdtesty opened this issue 6 years ago • 2 comments

It would be nice if httprobe accepts massscan or nmap output, no need to 'guess' for http ports :)

bdtesty avatar Nov 25 '19 11:11 bdtesty

bump

0xtavian avatar May 28 '20 19:05 0xtavian

@greckko a work around i put together is something like this

cat filename.gnmap | grep Ports | cut -d ":" -f 3 | tr "," "\n" | grep -iv nmap | grep -i http | cut -d "/" -f 1 | tr -d " " | sort | uniq

that will give you a list of http/s ports from nmap then you can wrap that in a loop and append it to the query as such

for i in $(the above command would go here); do
     cat domains.txt | httprobe -s -p https:$i
done

Or if you are in a hurry and need the results a bit faster you can do this

cat filename.gnmap | grep Ports | cut -d ":" -f 3 | tr "," "\n" | grep -iv nmap | grep -i http | cut -d "/" -f 1 | tr -d " " | sort | uniq | parallel -j 10 -k "cat domains.txt | httprobe -s -p https:${}"

if you are curious to know what in heavens are all those commands and flags...https://explainshell.com/

gbiagomba avatar Oct 09 '20 13:10 gbiagomba