https://github.com/codingo/fastsub
A custom built DNS bruteforcer with multi-threading, and handling of bad resolvers.
https://github.com/codingo/fastsub
Last synced: about 2 months ago
JSON representation
A custom built DNS bruteforcer with multi-threading, and handling of bad resolvers.
- Host: GitHub
- URL: https://github.com/codingo/fastsub
- Owner: codingo
- License: gpl-3.0
- Created: 2022-04-25T02:35:27.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-25T02:35:28.000Z (about 3 years ago)
- Last Synced: 2025-04-20T09:59:19.235Z (about 2 months ago)
- Language: C++
- Size: 1.1 MB
- Stars: 57
- Watchers: 5
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fastsub
A custom built DNS bruteforcer with multi-threading, and handling of bad resolvers.Authored by Michael Skelton (@codingo_), Luke Stephens (@hakluke), and Sajeeb Lohani (@sml555_)
# Usage
## Threads
Always insure that the number of threads being used isn't more than 2x the number of cores in the destination machine, if so the application will still work but will have a performance hit, rather than benefit. You can check the number of cores with `nproc`.```
➜ fastsub git:(master) ./fastsub -h
[2019-09-14 19:31:20.467] [info]___ __ __
/ _/__ ____ / /____ __ __/ /
/ _/ _ `(_- __(_- // / _ \
/_/ \_,_/___/\__/___/\_,_/_.__/Michael Skelton (@codingo_)
Luke Stephens (@hakluke)
Sajeeb Lohani (sml555_)USAGE:
./fastsub [-o ] [-i ] [-c ]
[-x ] -s -r [--] [--version]
[-h]Where:
-o , --output
Output format{filename(json format), stdout}(default: stdout)-i , --timeout
Connection timeout for a request before it is disconnected and
retried(default: 2,000ms)-c , --threads
Number of threads to use(default: 12)-x , --retries
Max retries(default: 10)-s , --sub-domain
(required) A file containing a non-empty list of popular sub-domains-r , --resolver
(required) A file containing the list of resolvers--, --ignore_rest
Ignores the rest of the labeled arguments following this flag.--version
Displays version information and exits.-h, --help
Displays usage information and exits.
(required) domain namefastsub -> a fast subdomain finder
```
# Editing## IDE
Built with a Visual Studio 2019 Solution file for an x64 Linux Environment.## Compiling Instructions
Navigate to project directory and run:
```
cmake -G "Unix Makefiles"
make
```## Docker
Build the container
```
docker build . -t fastsub
```Run the container
```
docker run -t fastsub
```