httpgrep : Scans HTTP Servers To Find Given Strings In URIs

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

  • quick’n’dirty code
  • httpgrep is already packaged and available for BlackArch Linux
  • My master-branches are always stable; dev-branches are created for current work.
  • All of my public stuff you find are officially announced and published via nullsecurity.net.

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

R K

Recent Posts

Kali Linux 2024.4 Released, What’s New?

Kali Linux 2024.4, the final release of 2024, brings a wide range of updates and…

11 hours ago

Lifetime-Amsi-EtwPatch : Disabling PowerShell’s AMSI And ETW Protections

This Go program applies a lifetime patch to PowerShell to disable ETW (Event Tracing for…

11 hours ago

GPOHunter – Active Directory Group Policy Security Analyzer

GPOHunter is a comprehensive tool designed to analyze and identify security misconfigurations in Active Directory…

2 days ago

2024 MITRE ATT&CK Evaluation Results – Cynet Became a Leader With 100% Detection & Protection

Across small-to-medium enterprises (SMEs) and managed service providers (MSPs), the top priority for cybersecurity leaders…

5 days ago

SecHub : Streamlining Security Across Software Development Lifecycles

The free and open-source security platform SecHub, provides a central API to test software with…

1 week ago

Hawker : The Comprehensive OSINT Toolkit For Cybersecurity Professionals

Don't worry if there are any bugs in the tool, we will try to fix…

1 week ago