File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,6 @@ fn main() {
8383 #[ cfg( not( unix) ) ]
8484 let batch_size: u16 = AVERAGE_BATCH_SIZE ;
8585
86- // Added by wasuaje - 01/26/2024:
87- // exclude_ports is an exclusion port list
88- //
89- // Added by brendanglancy - 5/19/2024:
90- // udp is an option to do a udp scan
9186 let scanner = Scanner :: new (
9287 & ips,
9388 batch_size,
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ use std::{
2525/// batch_size is how many ports at a time should be scanned
2626/// Timeout is the time RustScan should wait before declaring a port closed. As datatype Duration.
2727/// greppable is whether or not RustScan should print things, or wait until the end to print only the ip and open ports.
28- /// Added by wasuaje - 01/26/2024:
29- /// exclude_ports is an exclusion port list
3028#[ cfg( not( tarpaulin_include) ) ]
3129#[ derive( Debug ) ]
3230pub struct Scanner {
@@ -71,8 +69,6 @@ impl Scanner {
7169 /// Runs scan_range with chunk sizes
7270 /// If you want to run RustScan normally, this is the entry point used
7371 /// Returns all open ports as `Vec<u16>`
74- /// Added by wasuaje - 01/26/2024:
75- /// Filtering port against exclude port list
7672 pub async fn run ( & self ) -> Vec < SocketAddr > {
7773 let ports: Vec < u16 > = self
7874 . port_strategy
You can’t perform that action at this time.
0 commit comments