
خذ قائمة بالنطاقات/النطاقات الفرعية واختبر للبحث عن خادم http/https يعمل.
FProbe - مسبار HTTP سريع
GO111MODULE=on go get -u github.com/theblackturtle/fprobe
Status Code و Content Type و Location.Usage of fprobe:
-c int
Concurrency (default 50)
-cidr
Generate IP addresses from CIDR
-i string
Input file (default is stdin) (default "-")
-l Use ports in the same line (google.com,2087,2086)
-p value
add additional probe (proto:port)
-prefer-https
only try plain HTTP if HTTPS fails
-s skip the default probes (http:80 and https:443)
-t int
Timeout (seconds) (default 9)
-v Turn on verbose
الإدخال من stdin
❯ cat domains.txt | fprobe
الإدخال من ملف
❯ fprobe -i domains.txt
❯ cat domains.txt | fprobe -c 200
إذا كنت تريد استخدام منافذ خاصة لكل نطاق، يمكنك استخدام العلامة -l. يمكنك تحليل مخرجات Nmap/Masscan وإعادة تنسيقها لاستخدام هذه الميزة.
الإدخال (domains.txt)
google.com,2087,2086,8880,2082,443,80,2052,2096,2083,8080,8443,2095,2053
yahoo.com,2087,2086,8880,2082,443,80,2052,2096,2083,8080,8443,2095,2053
sport.yahoo.com,2086,443,2096,2053,8080,2082,80,2083,8443,2052,2087,2095,8880
الأمر
❯ cat domains.txt | fprobe -l
❯ cat domains.txt | fprobe -t 10
❯ cat domains.txt | fprobe -p http:8080 -p https:8443
❯ echo 'https://google.com/path1?param=1' | fprobe
https://google.com/path1?param=1
❯ echo '192.168.1.1/24' | fprobe -cidr
❯ cat domains.txt | fprobe -p medium/large/xlarge
إذا كنت لا تريد استقصاء HTTP على المنفذ 80 أو HTTPS على المنفذ 443، يمكنك استخدام العلامة -s.
❯ cat domains.txt | fprobe -s
سيتم تنسيق الإخراج المفصل بصيغة JSON مع بعض الرؤوس الإضافية، مثل Status Code و Content Type و Location.
❯ cat domains.txt | fprobe -v
{"site":"http://google.com","status_code":301,"server":"gws","content_type":"text/html; charset=UTF-8","location":"http://www.google.com/"}
{"site":"https://google.com","status_code":301,"server":"gws","content_type":"text/html; charset=UTF-8","location":"https://www.google.com/"}
استلهمت هذه الأداة فكرتها وبعض أسطر الكود من أداة httprobe التي كتبها @tomnomnom.