mirror of
https://github.com/DanMcInerney/LANs.py.git
synced 2025-07-08 05:51:44 -07:00
repeating output
This commit is contained in:
parent
d95f458f0e
commit
d8a795161a
1 changed files with 0 additions and 1 deletions
|
@ -133,7 +133,6 @@ class Parser():
|
|||
def dnsspoof(self, dns_layer, IP_src, IP_dst, sport, dport, localIP, payload):
|
||||
if args.dnsspoof:
|
||||
if args.dnsspoof in dns_layer.qd.qname:
|
||||
print G+'[+] DNS request for '+W+args.dnsspoof+G+' found; dropping packet and injecting spoofed one to '+W+localIP
|
||||
logger.write('[+] DNS request for '+args.dnsspoof+' found; dropping packet and injecting spoofed one to '+localIP+'\n')
|
||||
payload.set_verdict(nfqueue.NF_DROP)
|
||||
print G+'[+] Dropped real DNS response. Injecting the spoofed packet sending victim to '+W+localIP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue