mirror of https://github.com/E-Almqvist/wwmap
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.
21 lines
352 B
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);
|
|
}
|
|
|