projectdiscovery / cvemap

Navigate the CVE jungle with ease.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows json output pipe to file no longer working

LuemmelSec opened this issue · comments

cvemap version: 0.0.3

Current Behavior:

In version 0.0.2 when you did something like

cvemap.exe -poc=true ... -json > file.json

You would get a nice json file with the complete output.

In version 0.0.3 however, cvemap.exe will output the json content to console and the file itself will be empty.

Expected Behavior:

Like in 0.0.2 it should be possible to redirect the output to a file.

Steps To Reproduce:

Use version 0.0.2 with:

cvemap.exe -json > file.json

See that the json file is correctly created and contains valid json data. There is no screen output.

Use the newest version 0.0.3 and do the same.
You will see the json being outputted to the screen. An empty json file is created.

Anything else:

image

@LuemmelSec thanks for flagging this, now fixed in latest release - https://github.com/projectdiscovery/cvemap/releases/tag/v0.0.4