Scan a IPv4 range for a certain port
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wwmap/src/main.rs

21 lines
352 B

#![allow(
dead_code,
unused_variables,
//unused_imports, // TODO: rm
)]
mod ipv4;
mod scanner;
mod util;
use ipv4::IPv4;
fn main() {
// scanner::start_scan(100);
// permutations::ipv4(None);
let ip = IPv4::new((u32::max_value()) as u64);
println!("{:?}", ip);
let ip = IPv4::new(256);
println!("{:?}", ip);
}