Small cleanup
parent
825a8a7bcc
commit
12cb5bfbda
|
@ -1,12 +1,9 @@
|
|||
'''
|
||||
|
||||
This is a DNS client that transmits data within DNS TXT requests
|
||||
This is a DNS client that transmits data within A record requests
|
||||
Thanks to Raffi for his awesome blog posts on how this can be done
|
||||
http://blog.cobaltstrike.com/2013/06/20/thatll-never-work-we-dont-allow-port-53-out/
|
||||
|
||||
default = dns.resolver.get_default_resolver()
|
||||
>>> default.nameservers[0]
|
||||
|
||||
'''
|
||||
|
||||
import base64
|
||||
|
@ -59,4 +56,4 @@ class Client:
|
|||
byte_reader += self.length
|
||||
packet_number += 1
|
||||
|
||||
return
|
||||
return
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'''
|
||||
|
||||
This is a DNS Listening/server module that listens for requests, and
|
||||
writes out data within TXT requests to a file
|
||||
writes out data within A record requests to a file
|
||||
|
||||
'''
|
||||
|
||||
|
|
Loading…
Reference in New Issue