User Tools

Site Tools


networking:dns:dns_response_crafter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
networking:dns:dns_response_crafter [2021/02/01 13:55] peternetworking:dns:dns_response_crafter [2022/10/08 09:52] (current) – [Make lots of DNS requests in quick succession:] peter
Line 1: Line 1:
 ====== Networking - DNS - DNS Response Crafter ====== ====== Networking - DNS - DNS Response Crafter ======
 +
 +===== Make lots of DNS requests in quick succession: =====
 +
 +<code python>
 +import dns.resolver
 +
 +resolver = dns.resolver.Resolver()for x in range(2, 10):
 +    for i in range(85, 200):
 +        try:
 +            print resolver.query(chr(i) * x + '.com', 'A')
 +        except:
 +            pass
 +</code>            
 +
 +<WRAP info>
 +**NOTE:**
 +
 +See: https://dnspython.readthedocs.io/en/latest/_modules/dns/resolver.html
 +
 +</WRAP>
 +
 +----
 +
 +===== Craft Specific DNS requests =====
  
 <code python> <code python>
networking/dns/dns_response_crafter.1612187711.txt.gz · Last modified: 2021/02/01 13:55 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki