コード例 #1
0
ファイル: dnshelper.py プロジェクト: brunotikami/dnsrecon
def main():
    resolver = DnsHelper('google.com')
    print resolver.get_mx()
    print resolver.get_ip('www.google.com')
    print resolver.get_ns()
    print resolver.get_soa()
    print resolver.get_txt()
    print resolver.get_spf()
    tresolver = DnsHelper('owasp.org')
    print tresolver.zone_transfer()
コード例 #2
0
def main():
    resolver = DnsHelper('google.com')
    print(resolver.get_a("www.yahoo.com"))
    print(resolver.get_aaaa('baddata-cname-to-baddata-aaaa.test.dnssec-tools.org'))
    print(resolver.get_mx())
    print(resolver.get_ip('www.google.com'))
    print(resolver.get_txt("3rdparty1._spf.paypal.com"))
    print(resolver.get_ns())
    print(resolver.get_soa())
    print(resolver.get_txt())
    print(resolver.get_spf())
    tresolver = DnsHelper('google.com')
    print(tresolver.zone_transfer())
コード例 #3
0
def main():
    resolver = DnsHelper('google.com')
    print(resolver.get_a("www.yahoo.com"))
    print(resolver.get_aaaa('baddata-cname-to-baddata-aaaa.test.dnssec-tools.org'))
    print(resolver.get_mx())
    print(resolver.get_ip('www.google.com'))
    print(resolver.get_txt("3rdparty1._spf.paypal.com"))
    print(resolver.get_ns())
    print(resolver.get_soa())
    print(resolver.get_txt())
    print(resolver.get_spf())
    #tresolver = DnsHelper('weightmans.com')
    tresolver = DnsHelper('google.com')
    print(tresolver.zone_transfer())