Update vulnwhisp.py
This commit is contained in:
@ -715,6 +715,7 @@ class vulnWhispererOpenVAS(vulnWhispererBase):
|
||||
if output_format == 'json':
|
||||
with open(relative_path_name, 'w') as f:
|
||||
f.write(vuln_ready.to_json(orient='records', lines=True))
|
||||
f.write('\n')
|
||||
print('{success} - Report written to %s'.format(success=bcolors.SUCCESS) \
|
||||
% report_name)
|
||||
|
||||
@ -779,4 +780,4 @@ class vulnWhisperer(object):
|
||||
|
||||
elif self.profile == 'openvas':
|
||||
vw_openvas = vulnWhispererOpenVAS(config=self.config)
|
||||
vw_openvas.process_openvas_scans()
|
||||
vw_openvas.process_openvas_scans()
|
||||
|
Reference in New Issue
Block a user