httpgrep is a python tool which scans for HTTP servers and finds given strings in HTTP body and HTTP response headers.
$ httpgrep -H
–== [ by nullsecurity.net ] ==–
Usage
httpgrep -h -s [opts] |
Options
–h < hosts|file> – single host or host-range/cidr-range or file containing
hosts, e.g.: foobar.net, 192.168.0.1-192.168.0.254,
192.168.0.0/24, /tmp/hosts.txt
-p<port> – port to connect to (default: 80)
-t – use TLS/SSL to connect to service
-u<URI> – URI to search given strings in, e.g.: /foobar/, /foo.html
(default /)
-s <string|file>- a single string or multile strings in a file to find in
given URIs and HTTP response headers, e.g.: ‘tomcat 8’,
‘/tmp/igot0daysforthese.txt’
-S<where> – search strings in given places (default: headers,body)
-b<bytes> – num bytes to read from response. offset == response[0].
(default: 64)
-x<threads> – num threads for concurrent checks (default: 80)
–c<seconds> – num seconds for socket timeout (default: 2.0)
–i – use case-insensitive search
-r – perform reverse dns lookup for given IPv4 addresses
-l <file> – log urls and found strings to file
-v – verbose mode (default: quiet)
Misc
-H – print help
-V – print version information
Also Read – PEASS – Privilege Escalation Awesome Scripts SUITE
Notes
Disclaimer
We hereby emphasize, that the hacking related stuff found on nullsecurity.net are only for education purposes. We are not responsible for any damages. You are responsible for your own actions.
Credit: noptrix
What is a Software Supply Chain Attack? A software supply chain attack occurs when a…
When people ask how UDP works, the simplest answer is this: UDP sends data quickly…
Endpoint Detection and Response (EDR) solutions have become a cornerstone of modern cybersecurity, designed to…
A large-scale malware campaign leveraging AI-assisted development techniques has been uncovered, revealing how attackers are…
How Does a Firewall Work Step by Step? What Is a Firewall and How Does…
People trying to securely connect to work are being tricked into doing the exact opposite.…