
डोमेन/उपडोमेन की एक सूची लें और कार्यशील 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
स्टडिन इनपुट
❯ 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
यदि आप पोर्ट 80 पर HTTP या पोर्ट 443 पर HTTPS की जांच नहीं करना चाहते, तो आप -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 द्वारा लिखा गया है।