Пример #1
0
             ░░░░░                                         ░░░░░
                    (c) CERT-MZ - https://github.com/atenreiro/opensquat
    """ + Style.RESET_ALL)

    print(logo)
    print("\t\t\tversion " + __VERSION__ + "\n")

    args = arg_parser.get_args()

    start_time_squatting = time.time()

    file_content = app.Domain().main(
        args.keywords,
        args.confidence,
        args.domains,
        args.period,
        args.method,
        args.dns,
        args.ct,
    )

    output.SaveFile().main(args.output, args.type, file_content)

    # Check for subdomains
    if (args.subdomains):
        print("\n+---------- Checking for Subdomains ----------+")
        time.sleep(2)
        for domain in file_content:
            print("[*]", domain)
            subdomains = vt.VirusTotal().main(domain)
Пример #2
0
             ░░░░░                                         ░░░░░
                    (c) CERT-MZ - https://github.com/atenreiro/opensquat
    """ + Style.RESET_ALL)

    print(logo)
    print("\t\t\tversion " + __VERSION__ + "\n")

    args = arg_parser.get_args()

    start_time_squatting = time.time()

    file_content = app.Domain().main(
        args.keywords,
        args.confidence,
        args.domains,
        args.period,
        args.method,
        args.dns,
        args.doppelganger_only,
    )

    end_time_squatting = round(time.time() - start_time_squatting, 2)

    if (args.phishing != ""):
        start_time_phishing = time.time()
        file_phishing = phishing.Phishing().main(args.keywords)
        end_time_phishing = round(time.time() - start_time_phishing, 2)

    # Print summary output for domain squatting
    print("\n")
    print("+---------- Summary Squatting ----------+")
Пример #3
0
     ░░░░░░   ░███░░░   ░░░░░░  ░░░░ ░░░░░  ░░░░░░░░░   ░░░░░███   ░░░░░░░░  ░░░░░░░░    ░░░░░
              ░███                                          ░███
              █████                                         █████
             ░░░░░                                         ░░░░░
                    (c) CERT-MZ - https://github.com/atenreiro/opensquat
    """ + Style.RESET_ALL)

    print(logo)
    print("\t\t\tversion " + __VERSION__ + "\n")

    args = arg_parser.get_args()

    start_time_squatting = time.time()

    file_content = app.Domain().main(args.keywords, args.confidence,
                                     args.domains, args.period, args.method,
                                     args.dns, args.httpproxy, args.httpsproxy,
                                     args.verifyssl, args.ct)

    if args.subdomains or args.vt or args.subdomains or args.phishing or args.portcheck:
        print("\n[*] Total found:", len(file_content))

    # Check for subdomains
    if (args.subdomains):
        list_aux = []
        print("\n+---------- Checking for Subdomains ----------+")
        time.sleep(1)
        for domain in file_content:
            print("[*]", domain)
            subdomains = vt.VirusTotal().main(domain, "subdomains",
                                              args.httpproxy, args.httpsproxy,
                                              args.verifyssl)