mirror of
https://github.com/Astatin3/rust-scan.git
synced 2026-06-09 00:28:06 -06:00
Improve saving format
This commit is contained in:
@@ -164,6 +164,7 @@ fn scan(
|
||||
];
|
||||
|
||||
let tcp_results = tcp_scan::tcp_scan(up_hosts, tcp_ports, Duration::from_secs(3));
|
||||
println!("Saving Data...");
|
||||
let _ = database.add_tcp_results(&tcp_results);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user