Skip to content

Commit

Permalink
Merge pull request knownsec#104 from Explorer1092/Explorer1092-patch-1
Browse files Browse the repository at this point in the history
Update poc.py
  • Loading branch information
boy-hack committed Feb 11, 2020
2 parents 40bcf9a + 2a9ce6c commit d187349
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pocsuite3/lib/core/poc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import re
import traceback
from collections import OrderedDict
from urllib.parse import urlparse

Expand Down Expand Up @@ -219,7 +220,7 @@ def execute(self, target, headers=None, params=None, mode='verify', verbose=True
except BaseException as e:
self.expt = (ERROR_TYPE_ID.OTHER, e)
logger.error("PoC has raised a exception")
logger.error(str(e))
logger.error(str(traceback.format_exc()))
# logger.exception(e)
output = Output(self)

Expand Down

0 comments on commit d187349

Please sign in to comment.