removed some debugging print comands
This commit is contained in:
@@ -592,13 +592,8 @@ pub fn run_nmap_portscan(project: &Project) -> Option<JoinHandle<()>>{
|
||||
print_success("sweet we have what we need!");
|
||||
print_informational("Targets:");
|
||||
for target in &targets{
|
||||
print_informational(format!("{}", target));
|
||||
print_success(format!("{}", target));
|
||||
}
|
||||
print_informational("\nPorts:");
|
||||
for port in &ports_to_scan{
|
||||
print_informational(format!("{}", port));
|
||||
}
|
||||
print_informational("\n");
|
||||
println!("building portscan command...");
|
||||
let working_project = project.clone();
|
||||
let mut save_path = project.files_folder.clone();
|
||||
@@ -727,12 +722,6 @@ pub fn run_nmap_portscan(project: &Project) -> Option<JoinHandle<()>>{
|
||||
for host in &host_ports{
|
||||
write!(services_file, "{}\n", host).unwrap();
|
||||
let host_data: Vec<&str> = host.split("\t").collect();
|
||||
println!("#####");
|
||||
println!("{}", host);
|
||||
println!("address: {}", host_data[0]);
|
||||
println!("port: {}", host_data[1]);
|
||||
println!("service: {}", host_data[2]);
|
||||
println!("#####");
|
||||
let address = host_data[0].to_owned();
|
||||
let port = host_data[1].to_owned();
|
||||
let service = host_data[2].to_owned();
|
||||
|
||||
Reference in New Issue
Block a user