Exemple #1
0
def options():
    if vpn:
        vpncheck()
    if fresh:
        os.system("rm -r output")
        newpath = r"output"
        os.makedirs(newpath)
    if install or upgrade:
        upgradeFiles()
    else:
        if domain:
            if quick:
                amass()
                subfinder()
            elif bruteforce:
                massdns()
                sublist3r()
                enumall()
                amass()
                subfinder()
            else:
                sublist3r(True)
                enumall()
                knockpy()
                amass()
                subfinder()
            subdomainfile()
            if notify:
                notified()
        else:
            warning("\nPlease provide a domain. Ex. -d example.com")
    colored("\nAll your subdomain are belong to us", colorama.Fore.BLUE)
Exemple #2
0
def options():
    if fresh:
        refreshResolvers(domain)
        return
    if install or upgrade:
        upgradeFiles()
        return
    if domain:
        # findSubsOfSubs()
        # return
        os.system("rm -dfr output/{}".format(domain))
        os.system("mkdir output/{}".format(domain))
        notified("domained Script Started",
                 "domained Script Started for {}".format(domain))
        subfinder()
        amass_passive()
        massdnsPassive()
        if mainWildcard == NOWILD:
            massdnsBruteLoop(domain, findSoS=False)
            stripWildCards()
            dnsgen()
        findSubsOfSubs()
        stripCnameWildCards()
        exit()
        os.system(
            "cat {} | httprobe -c 200 --prefer-https -p http:8080 -p https:8443  > {}"
            .format(subdomainAllFile, urlProbesFile))
        eyewitness(urlProbesFile)
        notified("domained Script Finished",
                 "domained Script Finished for {}".format(domain))
    else:
        print("\nPlease provide a domain. Ex. -d example.com")
    print("\n\033[1;34mAll your subdomain are belong to us\033[1;37m")