modified outout formatting

This commit is contained in:
byt3bl33d3r 2014-07-13 18:47:01 +02:00
parent a7e3e4eddf
commit 27552b08a0
4 changed files with 8 additions and 6 deletions

View file

@ -60,7 +60,7 @@ class ArpSpoof(Plugin):
def send_packets(self,pkt,interface):
while self.send == True:
sendp(pkt, inter=2, iface=interface)
sendp(pkt, inter=2, iface=interface, verbose=False)
def build_req(self):
if self.target == None:

View file

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