Example #1
0
def ccg(e):
    if e == 'visa':
        while True:
            try:
                print(' How many ?')
                c = int(input(' HXYA>CCG>Visa>'))
                for i in range(c):
                    credit_card_number(visaPrefixList)
                input(' Please type ENTER')
                clear()
                menu()
                print(printMenu.ccgMenu)
                break

            except ValueError:
                print(' Please type a number between 1-∝')
    elif e == 'mastercard':
        while True:
            try:
                print(' How many ?')
                c = int(input(' HXYA>CCG>MasterCard>'))
                for i in range(c):
                    credit_card_number(mastercardPrefixList)
                input(' Please type ENTER')
                clear()
                menu()
                print(printMenu.ccgMenu)
                break

            except ValueError:
                print(' Please type a number between 1-∝')
Example #2
0
def bomber():
    nostop = 0

    while True:
        try:
            user = input(" Enter the victim's IG Username then press ENTER: ")
            url = "https://www.instagram.com/web/search/topsearch/?context=blended&query=" + user + "&rank_token=0.3953592318270893&count=1"
            response = requests.get(url)
            respJSON = response.json()
            user_id = str(respJSON['users'][0].get("user").get("pk"))
            break
        except:
            print(' Please type real Instagram username')

    message = input(
        " Put the message you want the software send and press ENTER: ")

    times = int(input(" How many messages do you want to send? "))

    print(" You are gonna STRESS", times, "times", user_id,
          "with the message: ", message, ".")
    input(" Are you sure?")

    try:
        while times > nostop:
            nostop = nostop + 1
            try:
                api.sendMessage(user_id, message)
            except:
                clear()
                menu()
                print(
                    " An error occurred. Be sure that your Instagram creditentials are true. Else, modify them into the Config Menu"
                )
                clear()
                menu()
                print(printMenu.instagramMenu)

            print(" " + str(nostop), ">> Sent to", user, ": ", message)
        input(" Please type ENTER")
        clear()
        menu()
        print(printMenu.instagramMenu)
    except:
        clear()
        menu()
        print(
            " An error occurred. You probably didn't install InstagramAPI correctly"
        )
        input(" Please type ENTER")
        clear()
        menu()
        print(printMenu.instagramMenu)
Example #3
0
def avaPse():
    list_ask = input(
        " Do you want to use 'path/Instagram/pseudo.txt' ? (y/Enter) ")
    if not list_ask:
        liner = input(" Paste a Instagram Username here: ")
        url = 'https://instagram.com/' + liner + '/?__a=1'
        response = requests.get(url)
        try:
            availablepseudosfile = open(
                "path/instagram/AvailablePseudos/" + stwo + ".txt", "w+")
            clear()
            menu()
            try:
                respJSON = response.json()
                user_id = str(respJSON['graphql'].get("user").get("id"))
                print(' ' + liner + ' >> X')
            except:
                print(' ' + liner + ' >> V')
                availablepseudosfile.write(liner + "\n")
            input(' Please type ENTER')
            clear()
            menu()
            print(printMenu.instagramMenu)
        except (FileNotFoundError):
            sys.exit(
                ' Folder is missing. Reinstall HXYA here : https://github.com/gumbraise/HXYA'
            )
    elif (list_ask == 'y'):
        try:
            availablepseudosfile = open(
                "path/instagram/AvailablePseudos/" + stwo + ".txt", "w+")
            clear()
            menu()
            try:
                with open("path/instagram/pseudos.txt") as s:
                    for line in s:
                        liner = line.replace('\n',
                                             ' ').replace('\r',
                                                          '').replace(' ', '')
                        url = 'https://instagram.com/' + liner + '/?__a=1'
                        response = requests.get(url)
                        try:
                            respJSON = response.json()
                            user_id = str(
                                respJSON['graphql'].get("user").get("id"))
                            print(' ' + liner + ' >> X')
                        except:
                            print(' ' + liner + ' >> V')
                            availablepseudosfile.write(liner + "\n")
                    input(' Please type ENTER')
                    clear()
                    menu()
                    print(printMenu.instagramMenu)
            except (FileNotFoundError):
                f = open("path/instagram/pseudos.txt", "w+")
                print(' Error, retest now please')
        except (FileNotFoundError):
            sys.exit(
                ' Folder is missing. Reinstall HXYA here : https://github.com/gumbraise/HXYA'
            )
Example #4
0
def unfollow():

    try:
        following = insta.api.getSelfUsersFollowing()
    except:
        clear()
        menu()
        print(
            " An error occurred. Be sure that your Instagram creditentials are true. Else, modify them into the Config Menu"
        )
        input(" Please type ENTER")
        clear()
        menu()
        print(printMenu.instagramMenu)

    try:
        for item in following["users"]:
            user = item["pk"]
            username = item["username"]

            insta.api.unfollow(user)
            print(" " + username + " is now unfollowed")
    except:
        clear()
        menu()
        print(
            " An error occurred. You probably didn't install InstagramAPI correctly"
        )
        input(" Please type ENTER")
        clear()
        menu()
        print(printMenu.instagramMenu)
Example #5
0
def wdnfm():
    following_list = []
    followers_list = []

    try:
        following = insta.api.getSelfUsersFollowing()
        followers = insta.api.getSelfUserFollowers()
    except:
        clear()
        menu()
        print(
            " An error occurred. Be sure that your Instagram credentials are true. Else, modify them into the Config Menu"
        )
        input(" Please type ENTER")
        clear()
        menu()
        print(printMenu.instagramMenu)

    try:
        for item in following["users"]:
            following_list.append(item["username"])
        for item2 in followers["users"]:
            followers_list.append(item2["username"])

        print((set(following_list) - set(followers_list)))
        input(" Please type ENTER")
        clear()
        menu()
        print(printMenu.instagramMenu)
    except:
        clear()
        menu()
        print(
            " An error occurred. You probably didn't install InstagramAPI correctly"
        )
        input(" Please type ENTER")
        clear()
        menu()
        print(printMenu.instagramMenu)
Example #6
0
def statMail():
    clear()
    menu()
    API_KEY = input('Mail API: ')

    url = 'http://mail.kellis.fr/stat.php?key=' + API_KEY
    r = requests.get(url)
    data2 = r.json()
    try:
        data = """
 "id"=>"%s"
 "name"=>"%s"
 "mailLimit"=>"%s"
 "differentMailLimit"=>"%s"
 "expiration"=>"%s"
 "mail"=>"%s"
        """ % (str(data2['id']), str(data2['name']), str(data2['mailLimit']),
               str(data2['differentMailLimit']), str(
                   data2['expiration']), str(data2['mail']))

        print(data)
        input('Type ENTER to exit')
        clear()
        menu()
        print(printMenu.mailMenu)
    except:
        clear()
        print('An error has occurred')
        print('Reason:')
        print('    ' + str(data2['error']['errors']['0']['reason']))
        print('Message error:')
        print('    ' + str(data2['error']['message']))
        print('Error code:')
        print('    ' + str(data2['error']['errors']['code']))
        input('Type ENTER to exit')
        clear()
        menu()
        print(printMenu.mailMenu)
Example #7
0
def mail():
    clear()
    API_KEY = input('Mail API: ')
    To = input('To: ')
    Subject = input('Subject: ')
    Message = input('Message: ')

    try:
        url = 'http://mail.kellis.fr/?key=' + API_KEY + '&mail=simple'
        data = {'to': To, 'subject': Subject, 'message': Message}

        print('Flood in progress. Type CTRL+C to stop flooding')

        r = requests.post(url=url, data=data)

        data2 = r.json()

        try:
            if (str(data2['code']) == '200'):
                pass
        except:
            clear()
            print('An error has occurred')
            print('Reason:')
            print('    ' + str(data2['error']['errors']['0']['reason']))
            print('Message error:')
            print('    ' + str(data2['error']['message']))
            print('Error code:')
            print('    ' + str(data2['error']['errors']['code']))
            input('Type ENTER to exit')
            clear()
            menu()
            print(printMenu.mailMenu)
    except KeyboardInterrupt:
        clear()
        menu()
        print(printMenu.mailMenu)
Example #8
0
 [1] Profiler
 [2] Show all Profiles
 [3] Create profile

 [b] back main menu    [c] Clear screen   [h] Help message
"""

countryMenu = """
 [1] FR (France)     [4] LU (Luxembourg)
 [2] BE (Belgique)   [5] All (FR, BE, CH, LU)
 [3] CH (Suisse)

 [b] back main menu   [c] Clear screen   [h] Help message
"""

clear()
menu()
print(mainOption)

try:
    while True:
        choix = input("\n P4R4DOX(" + Fore.BLUE + "~" + Fore.RESET + ")$ ")

        if choix.lower() == 'h':
            print(helpMain)
        elif choix.lower() == 'c':
            clear()
            menu()
            print(mainOption)
        elif choix == '3':
            clear()
Example #9
0
def config(e):
    if e == 'instagram':
        print(printMenu.configInstagram)
        while True:
            which_key = input(" HXYA>Config>").lower()
            if (which_key == '1'):
                print(" Paste your new Instagram Username here: ")
                username = input(" HXYA>Config>Instagram>")
                insta["username"] = username
                instaFile = open(instaOpen, "w")
                instaFile.write(json.dumps(insta))
                instaFile.close()
                clear()
                menu()
                print(printMenu.configInstagram)
                print(' Updated!')
            elif (which_key == '2'):
                print(' Paste your new Instagram Password here: ')
                password = input(" HXYA>Config>Instagram>")
                insta["password"] = password
                instaFile = open(instaOpen, "w")
                instaFile.write(json.dumps(insta))
                instaFile.close()
                clear()
                menu()
                print(printMenu.configInstagram)
                print(' Updated!')
            elif (which_key == 'c'):
                clear()
                menu()
                print(printMenu.configInstagram)
            elif (which_key == 'b'):
                pass
                clear()
                menu()
                print(printMenu.instagramMenu)
                break
            elif (which_key == 'q'):
                sys.exit(" Please consider donating. Good bye")
    elif e == 'youtube':
        print(printMenu.configYoutube)
        while True:
            which_key = input(" HXYA>Config>").lower()
            if (which_key == '1'):
                print(" Paste your new API_KEY here: ")
                API_KEY = input(" HXYA>Config>YouTube>")
                youtube["API_KEY"] = API_KEY
                youtubeFile = open(youtubeOpen, "w")
                youtubeFile.write(json.dumps(youtube))
                youtubeFile.close()
                clear()
                menu()
                print(printMenu.configYoutube)
                print(' Updated!')
            elif (which_key == 'c'):
                clear()
                menu()
                print(printMenu.configYoutube)
            elif (which_key == 'b'):
                pass
                clear()
                menu()
                print(printMenu.youtubeMenu)
                break
            elif (which_key == 'q'):
                sys.exit(" Please consider donating. Good bye")
    else:
        print(printMenu.configMenu)
        while True:
            which_key = input(" HXYA>Config>").lower()
            if (which_key == '1'):
                clear()
                menu()
                config('instagram')
            elif (which_key == '2'):
                clear()
                menu()
                config('youtube')
            elif (which_key == 'c'):
                clear()
                menu()
                print(printMenu.configMenu)
            elif (which_key == 'b'):
                pass
                clear()
                menu()
                print(printMenu.mainMenu)
                break
            elif (which_key == 'q'):
                sys.exit(" Please consider donating. Good bye")