Guest User

twitter-cracker.py

a guest
Oct 3rd, 2017
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. """
  2. $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
  3. $ /$$$$$$ /$$ $
  4. $ /$$__ $$| $$ $
  5. $ | $$ \__/| $$$$$$$ /$$$$$$ /$$$$$$ /$$ /$$ /$$$$$$ /$$ /$$ /$$ /$$$$$$ $
  6. $ | $$ | $$__ $$ |____ $$ /$$__ $$| $$ | $$ |____ $$| $$ | $$ | $$ /$$__ $$ $
  7. $ | $$ | $$ \ $$ /$$$$$$$| $$ \ $$| $$ | $$ /$$$$$$$| $$ | $$ | $$| $$$$$$$$ $
  8. $ | $$ $$| $$ | $$ /$$__ $$| $$ | $$| $$ | $$ /$$__ $$| $$ | $$ | $$| $$_____/ $
  9. $ | $$$$$$/| $$ | $$| $$$$$$$| $$$$$$$/| $$$$$$/| $$$$$$$| $$$$$/$$$$/| $$$$$$$ $
  10. $ \______/ |__/ |__/ \_______/| $$____/ \______/ \_______/ \_____/\___/ \_______/ $
  11. $ | $$ $
  12. $ | $$ $
  13. $ |__/ $
  14. $ $
  15. $ Scripting by Zack Dasti and Colaborators $
  16. $ Version: beta 0.1.6 $
  17. $ $
  18. $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
  19. """
  20. from selenium import webdriver
  21. from selenium.common.exceptions import NoSuchElementException
  22.  
  23. print "Iniciando"
  24. driver = webdriver.PhantomJS()
  25. print "Bot Iniciado"
  26. driver.get('https://mobile.twitter.com/login')
  27. print "Jakiando Pagina"
  28.  
  29. password = driver.find_element_by_css_selector('input[type=password]')
  30. username = driver.find_element_by_name('session[username_or_email]')
  31. submit = driver.find_element_by_name('commit')
  32.  
  33. password.sendkeys('hola')
  34. username.sendkeys('onedirection')
  35. submit.click()
  36.  
  37. print driver.page_source.encode("utf-8")
  38. print "\n\nPagina Jakeada"
Add Comment
Please, Sign In to add comment