diff --git a/src/main.rs b/src/main.rs index 181831fd4..75c54fb26 100644 --- a/src/main.rs +++ b/src/main.rs @@ -83,11 +83,6 @@ fn main() { #[cfg(not(unix))] let batch_size: u16 = AVERAGE_BATCH_SIZE; - // Added by wasuaje - 01/26/2024: - // exclude_ports is an exclusion port list - // - // Added by brendanglancy - 5/19/2024: - // udp is an option to do a udp scan let scanner = Scanner::new( &ips, batch_size, diff --git a/src/scanner/mod.rs b/src/scanner/mod.rs index a4a0fb916..47418a108 100644 --- a/src/scanner/mod.rs +++ b/src/scanner/mod.rs @@ -25,8 +25,6 @@ use std::{ /// batch_size is how many ports at a time should be scanned /// Timeout is the time RustScan should wait before declaring a port closed. As datatype Duration. /// greppable is whether or not RustScan should print things, or wait until the end to print only the ip and open ports. -/// Added by wasuaje - 01/26/2024: -/// exclude_ports is an exclusion port list #[cfg(not(tarpaulin_include))] #[derive(Debug)] pub struct Scanner { @@ -71,8 +69,6 @@ impl Scanner { /// Runs scan_range with chunk sizes /// If you want to run RustScan normally, this is the entry point used /// Returns all open ports as `Vec` - /// Added by wasuaje - 01/26/2024: - /// Filtering port against exclude port list pub async fn run(&self) -> Vec { let ports: Vec = self .port_strategy