Created
August 17, 2020 22:09
-
-
Save leeyoungseok/5d2e30dfc8ee7e0948556419da83d584 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 * | |
answer = sr1(IP(dst="8.8.8.8")/UDP(dport=53)/DNS(rd=1,qd=DNSQR(qname="networks.cnu.ac.kr")),verbose=1) | |
print(answer[DNS].summary()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment