Last active
September 18, 2018 08:05
-
-
Save jjsantanna/3c06a9f9d44f117fc665c04bc3e7c587 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scapy.all import * | |
dnsServer="8.8.8.8" | |
query="utwente.nl" | |
spoofedIPsrc=????? | |
dnsRequest = IP(src=spoofedIPsrc,dst=dnsServer)/UDP(sport=12345,dport=53)/DNS(qd=DNSQR(qname=query, qtype="A",qclass="IN")) | |
sr1(dnsRequest) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment