Latest Version | Documentation

Subrut is the super fast tool for brute forcing subdomains. From arg2u with ♥

Requirments

To use Subrut you need to install Cargo and Rust. Just paste into your terminal window: bash curl https://sh.rustup.rs -sSf | sh cargo install subrut

Usage

bash subrut [OPTIONS] -d <domain>

Flags

bash -h, --help Prints help information -V, --version Prints version information

Options

bash -d <domain> Domain to scan -f <file> Output filepath. If not provided will print results to console [default: ""] -o <output> Output format (txt ,json, csv) [default: txt] -r <resolver> Resolver (google, quad9, cloudflare) [default: google] -w <wordslist> Wordslist file [default: wordslist.txt]

In-Code Example

```rust use subrut::models::error::Error;

[tokio:main]

async fn main() -> Result<(), Error> { let scan = subrut::run("admin\nips\n".tostring(),"google.com".tostring(), "google".tostring(), None)?; println!("JSON = {}", &scan.tojson()?); println!("CSV = {}", &scan.tocsv()); println!("Pure string = {}", &scan.tostring()); Ok(()) } ```

Library Dependecies

trust-dns-resolver = "0.21.2"
tokio = { version = "1", features = ["full"] }
serde = {version = "1.0.143", features = ["derive"]}
serde_json = "1.0"

Donation

BTC: 1BXuTySFfiamKSa2GeC7vjDPBE4uxtz3a6

License

MIT