Skip to content
This repository was archived by the owner on Jul 23, 2021. It is now read-only.
This repository was archived by the owner on Jul 23, 2021. It is now read-only.

Absolute path in source code #9

@jblokhuis

Description

@jblokhuis

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions