Пример #1
0
def main():
    global emails_list

    #Imprimimos la cabecera
    print(C.print_banner())

    m = menu()
    if m == 1:
        print("[INFO][Emails list][>] By default 'emails.txt'...")
        print("[INFO][Emails list][>] If you want by default, press ENTER.")
        file = open(C.dir_listEmails, 'r')
        for email in file.readlines():
            attack(email.replace("\n", ""))

    if m == 2:
        email = str(input("Email: "))
        attack(email)
    if m == 3:
        print("-----------------------------------------------------")
        print("--               START EMAIL SPOOFING                ")
        print("-----------------------------------------------------")
        print("INSTRUCTIONS: ")
        print("1. Generate evilmail.php")
        print("2. Upload to hosting with email server")
        print("3. Run the evilmail.php from the browser")
        print("4. Enjoy!")
        print("-----------------------------------------------------")
        print(" ")

        fromm = str(input("From:"))
        to = str(input("To: "))
        title = str(input("Title: "))
        messaje = str(input("Messaje: "))
        generate_php(fromm, to, title, messaje)

    if m < 0 or m > 3:
        print("|--[EO-RIPPER][SAY][>] Are you stupid?")
        print("|--[EO-RIPPER][SAY][>] 1 or 2 or 3.")
    if type(m) == str:
        print("|--[EO-RIPPER][SAY][>] Are you stupid?")
        print("|--[EO-RIPPER][SAY][>] 1 or 2 or 3.")
Пример #2
0
def main():
    #Imprimimos el banner
    print(config.print_banner())

    nick = input("Insert nick:")

    #Creamos el report
    now = datetime.now()

    rep.add_title(f"INFORME {now}")
    rep.add_title("BUSCADOR DE NICK", level=2)
    rep.add_markdown("![alt text](images/DG-minimal-version.png 'Logo DG')")
    rep.add_markdown("=====================================================")
    rep.add_markdown(f"- Target: {nick}")
    rep.add_markdown("=====================================================")

    #Buscamos en facebook
    m = input(
        "|----[Q][>] Do you want to find a post on Facebook where this nick apperars? Select Yes[Y]/No[n]: "
    )
    if m == "y" or m == "Y":

        facebook.get_postsFB(nick)
        print("|y")
    else:

        print("|")

    #Buscamos emails
    m = input(
        "|----[Q][>] Do you want to search for emails with that NICK in different providers? Select Yes[Y]/No[n]: "
    )

    if m == "y" or m == "Y":

        rep.add_title("[EMAILS ENCONTRADOS]", level=3)
        for email in emails:
            target = nick + email
            try:
                is_valid = validate_email(target,
                                          check_regex=True,
                                          check_mx=True,
                                          smtp_timeout=10,
                                          dns_timeout=10,
                                          use_blacklist=True)
                if is_valid:
                    print("|----[INFO][EMAIL][>] " + target)
                    print("|--------[INFO][EMAIL][>] Email validated...")
                    rep.add_markdown(f"- {target}")

                else:

                    print("|----[INFO][TARGET][>] " + target)
                    print("|--------[INFO][EMAIL][>] It's not created...")

            except Exception as e:

                print(e)
                print("[INFO][TARGET][>] " + target)
                print("|--[INFO][EMAIL] No verification possible... ")
        print("|")
    else:
        print("|")

    #Buscamos en las plataformas
    m = input(
        "|----[Q][>]Do yoy want to search more than 100 platforms if thre is a user with that nickname? Select Yes[Y]/No[n]: "
    )

    if m == "y" or m == "Y":

        #Creamos título en el report
        rep.add_title("[CUENTAS ENCONTRADAS]", level=3)

        print("\n This process may take a few minutes...")
        r_nicks = getnickWebs(nick)

        for n in r_nicks:

            NICK = r_nicks.get(n).replace("data", nick)
            print("|----[INFO][" + n.upper() + "][>] " + NICK)
            rep.add_markdown(f"- {NICK}")
    else:
        print("|")

    #Buscamos en Google

    m = input(
        "|----[Q][>] Do you want to Google the nickname and classify the results? Select Yes[Y]/No[n]: "
    )

    if m == "y" or m == "Y":

        rep.add_title("[Google Hacking & Clustering]", level=3)
        search_google_(nick)
    else:
        print("|")

    #IMPRIMIMOS EL INFORME
    print(
        "|----[INFO][REPORT][>] You can now see your PDF report (report.html)..."
    )
    rep.write_report()
def main():

    #Imprimimos el banner principal
    print(config.print_banner())

    #Insertamos la URL a buscar
    url = input("Insert URL: ")

    #Obtenemos el HTML
    HTML = requests.get(url)

    #Obtenemos el título
    TITLE = footprintingWEB_TITLE(HTML)

    #Obtenemos la descripción
    DESC = er.remove_tags(str(footprintingWEB_DESC(HTML)))

    print(f"|----[TARGET][>] {url}")
    print(f"|--------[TARGET][TITLE][>] {TITLE}")
    print(f"|--------[TARGET][DESCRIPTION][>] {DESC}")
    time.sleep(2)

    #Obtenemos el texto de la noticia
    TEXT_0 = er.remove_tags(str(HTML.text))

    #buscamos una fecha en la URL
    DATE = parser.parser_EN_DATE(url)

    #Parseamos y obtenemos diferentes tipos de datos
    parser.parserMAIN(TEXT_0)
    time.sleep(3)

    #Buscamos en Google y DuckDuckGo
    print("|----[INFO][>] Now let's look for other news: \n")

    m = input("Do you want to search the original web? (Y/n): ")

    if m == "y" or m == "Y":
        search_google_(TITLE, TEXT_0)
        search_DDG_(TITLE, TEXT_0)
    else:
        pass

    #Buscamos en plataformas de verificación
    m = input("Do you want to analyze in fact-checking platforms? (Y/n): ")

    if m == "y" or m == "Y":

        #Buscamos con dorks en DDG
        search_DDG_DORKS(TITLE, TEXT_0)

    else:

        exit

    #Buscamos en Twitter
    m = input("Do you want to search in Twitter? (Y/n): ")

    if m == "y" or m == "Y":

        #Buscamos con dorks en DDG
        Twint.search_Twitter(url)

    else:

        exit
Пример #4
0
def banner():

    print(config.print_banner())
def main():
    print(C.print_banner())

    target = input("Insert number phone: ")

    attack(target)