yassineaboukir / sublert

Sublert is a security and reconnaissance tool which leverages certificate transparency to automatically monitor new subdomains deployed by specific organizations and issued TLS/SSL certificate.
MIT License
991 stars 166 forks source link

dsn resolving #44

Open ghost opened 2 years ago

ghost commented 2 years ago

after i run python3 sublert -r -l is get one error [!] Performing DNS resolution. Please do not interrupt!
/root/tool/bugbounty/sublert/sublert.py:314: DeprecationWarning: please use dns.resolver.resolve() instead
dns_output = dns.resolver.query(domain,qtype, raise_on_no_answer = False)

ReekElderblood commented 1 year ago

Just change line number 314

This > dns_output = dns.resolver.query(domain,qtype, raise_on_no_answer = False) To this > dns_output = dns.resolver.resolve(domain,qtype, raise_on_no_answer = False)

or you can use this cammand

python sublert -r -l