# By default, it serializes as CSV to stdout
nessusx file1.nessus file2.nessus
[WRN] Use with caution. You are responsible for your actions.
# ... or you can specify a path as output
nessusx --output tothisfile.csv file1.nessus file2.nessus
[WRN] Use with caution. You are responsible for your actions.
# ... and you can request JSON output
nessusx --json --output tothisfile.csv file1.nessus file2.nessus
[WRN] Use with caution. You are responsible for your actions.
use nessusx::from_file;
fn main() {
let scan: nessusx::Scan = nessusx::from_file(&path).unwrap();
let j = serde_json::to_string(&scan).unwrap();
println!("{}", j);
}
Contributions are always welcome! Please create a PR to add Github Profile.
This project is licensed under GPL-3.0 license.
Give a ⭐️ if this project helped you!