radicallyopensecurity / PassiveScanningTool

GNU General Public License v2.0
16 stars 12 forks source link

Absolute path in source code #9

Open jblokhuis opened 8 years ago

jblokhuis commented 8 years ago

After compiling and running the code it generates an error because of the resultpath does not exist.

mono PassiveScanning.exe Expected 'nvdcve' directory to exist containing all 'nvdcve' XML files. Generating unique address list...

Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path "/media/koen/2.3.2-22-amd641/output/services-HTTP".

Line 62 of Program.cs: string resultPath = "/media/koen/2.3.2-22-amd641/output";

Suggestion: use a cmdline argument or relative path instead?