rust_masscan

Crates.iorust_masscan
lib.rsrust_masscan
version0.1.7
sourcesrc
created_at2021-09-13 12:14:00.708924
updated_at2021-09-30 13:38:10.86093
descriptionA module for masscan.
homepagehttps://github.com/w01fb0ss/rust_masscan
repositoryhttps://github.com/w01fb0ss/rust_masscan
max_upload_size
id450518
size18,346
w01fb0ss (w01fb0ss)

documentation

README

A module for masscan

Examples

Basic usage:

use rust_masscan::Masscan;

let other_args: Vec<String> = vec!["--banners".to_string()];

let mas = Masscan::default()
        .set_system_path("/usr/local/bin/masscan".to_string())
        .set_ports("22,8080-8100".to_string())
        .set_ranges("xx.xx.xx.xx,yy.yy.yy.yy".to_string())
        .set_rate("10000".to_string())
        .set_other_args(other_args);
let result = mas.run();
println!("{:?}", result);
Commit count: 14

cargo fmt