Ejemplo n.º 1
0
from lib.multi import Threader
from lib.auth import *
import lib.execption as err
import lib.action as YT
import lib.cli as cli
import threading
import signal


cli.banner()

action        = cli.ask_action()
threader      = Threader(cli.ask_threads())
accounts_path = cli.ask_accounts_file()
action_path   = cli.ask_action_file()

slogin   = 0
flogin   = 0
saction  = 0
faction  = 0

clock    = threading.Lock()
lock     = threading.Lock()

botgaurd = Botgaurd()
server   = botgaurd.server_start()

def counters(name,value=1):
	global slogin
	global flogin
	global saction
Ejemplo n.º 2
0
from lib.multi import Threader
from lib.auth import GAuth
import lib.execption as err
import lib.action as YT
import lib.cli as cli
import threading
import signal

cli.banner()
action = cli.ask_action()
threader = Threader(cli.ask_threads())
accounts_path = cli.ask_accounts_file()
action_path = cli.ask_action_file()
lock = threading.Lock()
login_successful = 0
login_failed = 0
action_successful = 0
action_faild = 0


def Login(email, password):
    global login_successful
    global login_failed
    with lock:
        try:
            google = GAuth(email, password)
            status = google.ServiceLogin(
                'youtube',
                'https://www.youtube.com/signin?app=desktop&next=%2F&hl=en&action_handle_signin=true'
            )
            login_successful += 1