added banners and tree visual of loaded plugins

This commit is contained in:
byt3bl33d3r 2015-03-10 19:17:10 +01:00
commit fcdbe49df9
7 changed files with 107 additions and 5 deletions

View file

@ -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

View file

@ -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:

View file

@ -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")