Added the ability to write the host_notes from the nessus import, also
restructured ALOT of code into seperate files to make it easier to find things.
This commit is contained in:
1 parent
9f4d0fccc4
commit
3903db6a69
8 files changed
+1232
-1101
No files matched your search
+3
-4
@@ -1,4 +1,3 @@
|
||||
use keyring::Entry;
|
||||
use rcgen::generate_simple_self_signed;
|
||||
use std::error::Error;
|
||||
use std::fs;
|
||||
@@ -54,7 +53,7 @@ pub struct Server {
|
||||
}
|
||||
|
||||
pub async fn start_server(server: Arc<Mutex<Server>>) -> Result<(), Box<dyn Error>> {
|
||||
let mut lock = server.lock().unwrap();
|
||||
let lock = server.lock().unwrap();
|
||||
let mut name_path = lock.certificate_path.clone();
|
||||
name_path.pop();
|
||||
name_path.push("names.txt");
|
||||
@@ -494,7 +493,7 @@ where
|
||||
messages.push(format!("OUTPUT|{}", text));
|
||||
}
|
||||
ClientAction::Collab(text) => {
|
||||
println!("todo");
|
||||
println!("todo, {}", text);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -565,7 +564,7 @@ where
|
||||
messages.push(format!("OUTPUT|{}", text));
|
||||
}
|
||||
ClientAction::Collab(text) => {
|
||||
println!("todo");
|
||||
println!("todo, {}", text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user