mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-08-21 05:53:30 -07:00
added banners and tree visual of loaded plugins
This commit is contained in:
parent
ad6c3d8ed3
commit
fcdbe49df9
7 changed files with 107 additions and 5 deletions
|
@ -125,6 +125,10 @@ class ClientRequest(Request):
|
|||
|
||||
if self.hsts:
|
||||
|
||||
#Original code from SSLstrip+
|
||||
#Saying that this is unreadible is an understatement
|
||||
#KILL IT WITH FIRE!!
|
||||
|
||||
real = self.urlMonitor.real
|
||||
patchDict = self.urlMonitor.patchDict
|
||||
|
||||
|
|
|
@ -185,6 +185,10 @@ class ServerConnection(HTTPClient):
|
|||
def replaceSecureLinks(self, data):
|
||||
if self.hsts:
|
||||
|
||||
#Original code from SSLstrip+
|
||||
#Saying that this is unreadible is an understatement
|
||||
#KILL IT WITH FIRE!!
|
||||
|
||||
sustitucion = {}
|
||||
patchDict = self.urlMonitor.patchDict
|
||||
if len(patchDict)>0:
|
||||
|
|
|
@ -53,6 +53,13 @@ class URLMonitor:
|
|||
return (client,url) in self.strippedURLs
|
||||
|
||||
def writeClientLog(self, client, headers, message):
|
||||
'''
|
||||
This isn't used for now.. the point was to log every clients
|
||||
data to a seperate file
|
||||
|
||||
Don't see how useful it could be though
|
||||
'''
|
||||
|
||||
if not os.path.exists("./logs"):
|
||||
os.makedirs("./logs")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue