Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomnomnom/httprobe
Take a list of domains and probe for working HTTP and HTTPS servers
https://github.com/tomnomnom/httprobe
Last synced: 2 days ago
JSON representation
Take a list of domains and probe for working HTTP and HTTPS servers
- Host: GitHub
- URL: https://github.com/tomnomnom/httprobe
- Owner: tomnomnom
- License: mit
- Created: 2017-01-31T10:30:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-06-22T22:47:09.000Z (6 months ago)
- Last Synced: 2024-11-25T21:06:54.536Z (16 days ago)
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 2,888
- Watchers: 47
- Forks: 506
- Open Issues: 47
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bbht - httprobe - (Other / XSS)
- awesome-bbht - httprobe - (Other / XSS)
- awesome-infosec - httprobe
- WebHackersWeapons - httprobe
- awesome-golang-security - httprobe - Take a list of domains and probe for working HTTP and HTTPS servers. (Libraries)
- awesome-security-collection - **366**星
- StarryDivineSky - tomnomnom/httprobe
README
# httprobe
Take a list of domains and probe for working http and https servers.
## Install
```
▶ go install github.com/tomnomnom/httprobe@latest
```## Basic Usage
httprobe accepts line-delimited domains on `stdin`:
```
▶ cat recon/example/domains.txt
example.com
example.edu
example.net
▶ cat recon/example/domains.txt | httprobe
http://example.com
http://example.net
http://example.edu
https://example.com
https://example.edu
https://example.net
```## Extra Probes
By default httprobe checks for HTTP on port 80 and HTTPS on port 443. You can add additional
probes with the `-p` flag by specifying a protocol and port pair:```
▶ cat domains.txt | httprobe -p http:81 -p https:8443
```## Concurrency
You can set the concurrency level with the `-c` flag:
```
▶ cat domains.txt | httprobe -c 50
```## Timeout
You can change the timeout by using the `-t` flag and specifying a timeout in milliseconds:
```
▶ cat domains.txt | httprobe -t 20000
```## Skipping Default Probes
If you don't want to probe for HTTP on port 80 or HTTPS on port 443, you can use the
`-s` flag. You'll need to specify the probes you do want using the `-p` flag:```
▶ cat domains.txt | httprobe -s -p https:8443
```## Prefer HTTPS
Sometimes you don't care about checking HTTP if HTTPS is working. You can do that with the `--prefer-https` flag:
```
▶ cat domains.txt | httprobe --prefer-https
```## Docker
Build the docker container:
```
▶ docker build -t httprobe .
```Run the container, passing the contents of a file into stdin of the process inside the container. `-i` is required to correctly map `stdin` into the container and to the `httprobe` binary.
```
▶ cat domains.txt | docker run -i httprobe
```