2020-04-13 17:10:54 +02:00
|
|
|
# Description
|
|
|
|
|
|
|
|
A python tool which scans for HTTP servers and finds given strings in URIs.
|
|
|
|
|
|
|
|
# Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
$ httpgrep -H
|
|
|
|
|
2020-04-13 17:17:56 +02:00
|
|
|
--==[ httpgrep by nullsecurity.net ]==--
|
2020-04-13 17:10:54 +02:00
|
|
|
|
|
|
|
usage
|
|
|
|
|
2020-04-13 17:17:56 +02:00
|
|
|
httpgrep -h <args> -s <arg> [opts] | <misc>
|
2020-04-13 17:10:54 +02:00
|
|
|
|
|
|
|
opts
|
|
|
|
|
|
|
|
-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, e.g. 'tomcat 8', '/tmp/igot0daysforthese.txt'
|
|
|
|
-b <bytes> - num bytes to read from response. offset == response[0].
|
|
|
|
(default: 64)
|
|
|
|
-x <threads> - num threads for concurrent checks (default: 50)
|
|
|
|
-c <seconds> - num seconds for socket timeout (default: 2.5)
|
|
|
|
-i - use case-insensitive search
|
|
|
|
-v - verbose mode (default: quiet)
|
|
|
|
|
|
|
|
misc
|
|
|
|
|
|
|
|
-H - print help
|
|
|
|
-V - print version information
|
|
|
|
```
|
|
|
|
|
|
|
|
# Author
|
|
|
|
|
|
|
|
noptrix
|
|
|
|
|
|
|
|
# Notes
|
|
|
|
|
2020-04-13 21:29:49 +02:00
|
|
|
- httpgrep is already packaged and available for [BlackArch Linux](https://www.blackarch.org/)
|
2020-04-13 19:13:12 +02:00
|
|
|
- My master-branches are always dev-branches; use releases for stable versions.
|
2020-04-13 17:10:54 +02:00
|
|
|
- All of my public stuff you find are officially announced and published via [nullsecurity.net](https://www.nullsecurity.net).
|
|
|
|
|
|
|
|
# Disclaimer
|
|
|
|
|
|
|
|
We hereby emphasize, that the hacking related stuff found on
|
|
|
|
[nullsecurity.net](http://nullsecurity.net) are only for education purposes.
|
|
|
|
We are not responsible for any damages. You are responsible for your own
|
|
|
|
actions.
|