mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-12-18 07:05:11 +01:00
update
This commit is contained in:
parent
011361ea00
commit
8589f46e55
@ -1050,11 +1050,17 @@ Results will be unsound. Make sure you have pasted your headers with correct spa
|
||||
|
||||
for testName, testFunc in tests:
|
||||
try:
|
||||
logger.dbg(f'Running "{testName}"...')
|
||||
self.logger.dbg(f'Running "{testName}"...')
|
||||
self.results[testName] = testFunc()
|
||||
|
||||
except Exception as e:
|
||||
logger.err(f'Test: "{testName}" failed: {e} . Use --debug to show entire stack trace.')
|
||||
self.logger.err(f'Test: "{testName}" failed: {e} . Use --debug to show entire stack trace.')
|
||||
|
||||
self.results[testName] = {
|
||||
'header' : '',
|
||||
'value' : '',
|
||||
'analysis' : 'Internal script error. Use --debug to find out more what happened.',
|
||||
}
|
||||
|
||||
if options['debug']:
|
||||
raise
|
||||
@ -1062,11 +1068,17 @@ Results will be unsound. Make sure you have pasted your headers with correct spa
|
||||
if self.decode_all:
|
||||
for testName, testFunc in tests:
|
||||
try:
|
||||
logger.dbg(f'Running "{testName}"...')
|
||||
self.logger.dbg(f'Running "{testName}"...')
|
||||
self.results[testName] = testFunc()
|
||||
|
||||
except Exception as e:
|
||||
logger.err(f'Test: "{testName}" failed: {e} . Use --debug to show entire stack trace.')
|
||||
self.logger.err(f'Test: "{testName}" failed: {e} . Use --debug to show entire stack trace.')
|
||||
|
||||
self.results[testName] = {
|
||||
'header' : '',
|
||||
'value' : '',
|
||||
'analysis' : 'Internal script error. Use --debug to find out more what happened.',
|
||||
}
|
||||
|
||||
if options['debug']:
|
||||
raise
|
||||
|
Loading…
Reference in New Issue
Block a user