Crates.io | subrut |
lib.rs | subrut |
version | 0.1.1 |
source | src |
created_at | 2022-08-22 20:41:46.420838 |
updated_at | 2022-08-22 20:52:14.911306 |
description | The super fast tool for brute forcing subdomains. |
homepage | |
repository | https://github.com/arg2u/subrut |
max_upload_size | |
id | 650592 |
size | 6,907,567 |
Subrut is the super fast tool for brute forcing subdomains. From arg2u with ♥
To use Subrut you need to install Cargo and Rust. Just paste into your terminal window:
curl https://sh.rustup.rs -sSf | sh
cargo install subrut
subrut [OPTIONS] -d <domain>
-h, --help Prints help information
-V, --version Prints version information
-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]
use subrut::models::error::Error;
#[tokio:main]
async fn main() -> Result<(), Error> {
let scan = subrut::run("admin\nips\n".to_string(),"google.com".to_string(), "google".to_string(), None)?;
println!("JSON = {}", &scan.to_json()?);
println!("CSV = {}", &scan.to_csv());
println!("Pure string = {}", &scan.to_string());
Ok(())
}
trust-dns-resolver = "0.21.2"
tokio = { version = "1", features = ["full"] }
serde = {version = "1.0.143", features = ["derive"]}
serde_json = "1.0"
BTC: 1BXuTySFfiamKSa2GeC7vjDPBE4uxtz3a6
MIT