removed more debugging print statements

This commit is contained in:
Pyro57000
2025-05-28 15:36:18 -05:00
parent a3f42ecb3f
commit f8ec8de137

View File

@@ -606,7 +606,6 @@ pub fn run_nmap_portscan(project: &Project) -> Option<JoinHandle<()>>{
let mut enumeration_notes_path = project.notes_folder.clone(); let mut enumeration_notes_path = project.notes_folder.clone();
enumeration_notes_path.push("enumeration.md"); enumeration_notes_path.push("enumeration.md");
let mut nmap_output = Vec::new(); let mut nmap_output = Vec::new();
print_informational(format!("{}", ports_to_scan.join(",")));
let nmap_thread = spawn(move || { let nmap_thread = spawn(move || {
if proxy{ if proxy{
let port_scancmd_res = Command::new("distrobox") let port_scancmd_res = Command::new("distrobox")
@@ -740,7 +739,6 @@ pub fn run_nmap_portscan(project: &Project) -> Option<JoinHandle<()>>{
for host in host_all_ports.keys(){ for host in host_all_ports.keys(){
write!(enumeration_file, "## {}\n| HOST | PORT | SERVICE |\n| ---- | ---- | ------- |\n", host).unwrap(); write!(enumeration_file, "## {}\n| HOST | PORT | SERVICE |\n| ---- | ---- | ------- |\n", host).unwrap();
for port_entry in &host_all_ports[host]{ for port_entry in &host_all_ports[host]{
println!("{}", port_entry);
let parts: Vec<&str> = port_entry.split(":").collect(); let parts: Vec<&str> = port_entry.split(":").collect();
let port = parts[0]; let port = parts[0];
let services = parts[1]; let services = parts[1];