nccgroup/VCG

Getting wrong line numbers for the vulnerable lines in the report on scanning using command line .

Harshal1693 opened this issue · 6 comments

Hi Team,

I am getting wrong line numbers for the vulnerable lines in the xml report that is generated on scanning using command line. When I scan using the application , it is correct. Can anyone help me to fix this issue or even guide me what may be causing the issue?

I had the problem too

chrjs commented

Same issue

Same problem occurs with the generated csv report

lopji commented

Hey, i had this issue too. I fixed it by adding this line.
UpdateGraphs(strItem, arrShortName, blnIsColoured) in frmMain.vb function ScanFiles +- line 319

...
'== Update graphs and tables ==
If asAppSettings.IsConsole = False Then
UpdateGraphs(strItem, arrShortName, blnIsColoured)
blnIsColoured = False
Else
'Add By Me
UpdateGraphs(strItem, arrShortName, blnIsColoured)
....

Still not working after adding the code

I’ve submitted a PR (2.3.0 - #18) that addresses this, and many others. Can you download it and check that this issue is resolved? I’ve notified the maintainer that this PR is in waiting.