mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-06 13:02:24 -07:00
modified outout formatting
This commit is contained in:
parent
a7e3e4eddf
commit
27552b08a0
4 changed files with 8 additions and 6 deletions
|
@ -33,6 +33,8 @@ class Inject(CacheKill,Plugin):
|
|||
self.dtable = {}
|
||||
self.count = 0
|
||||
self.mime = "text/html"
|
||||
print "[*] %s plugin online" % self.name
|
||||
|
||||
|
||||
def handleResponse(self,request,data):
|
||||
#We throttle to only inject once every two seconds per client
|
||||
|
@ -46,7 +48,7 @@ class Inject(CacheKill,Plugin):
|
|||
self.ctable[ip] = time.time()
|
||||
self.dtable[ip+hn] = True
|
||||
self.count+=1
|
||||
logging.info("Injected malicious html.")
|
||||
logging.info("%s [%s] Injected malicious html" % (request.client.getClientIP(), request.headers['host']))
|
||||
return {'request':request,'data':data}
|
||||
else:
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue