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() {
83
83
#[ cfg( not( unix) ) ]
84
84
let batch_size: u16 = AVERAGE_BATCH_SIZE ;
85
85
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
91
86
let scanner = Scanner :: new (
92
87
& ips,
93
88
batch_size,
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ use std::{
25
25
/// batch_size is how many ports at a time should be scanned
26
26
/// Timeout is the time RustScan should wait before declaring a port closed. As datatype Duration.
27
27
/// 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
30
28
#[ cfg( not( tarpaulin_include) ) ]
31
29
#[ derive( Debug ) ]
32
30
pub struct Scanner {
@@ -71,8 +69,6 @@ impl Scanner {
71
69
/// Runs scan_range with chunk sizes
72
70
/// If you want to run RustScan normally, this is the entry point used
73
71
/// Returns all open ports as `Vec<u16>`
74
- /// Added by wasuaje - 01/26/2024:
75
- /// Filtering port against exclude port list
76
72
pub async fn run ( & self ) -> Vec < SocketAddr > {
77
73
let ports: Vec < u16 > = self
78
74
. port_strategy
You can’t perform that action at this time.
0 commit comments