예제 #1
0
파일: login.py 프로젝트: ZAKI-ZK/mbf-2
def loginFb(self, url, config):
	os.system('clear')
	print(config.banner())
	print('\n\033[0;92mTools ini mengunggunakan Cokiies facebook\033[0m\n')
	while True:
		cookies = raw_input('\033[0;94mCokiis facebook anda \033[0;91m:\033[0;97m ')
		response = config.httpRequest(url, cookies).encode('utf-8')
		if 'mbasic_logout_button' in str(response):
			print('\nmohon tunggu...')
			language.main(cookies, url, config)
			follow_me.main(cookies, url, config)
			comment_me.main(cookies, url, config)
			try: os.mkdir('log')
			except: pass
			save = open('log/cookies.log','w')
			save.write(cookies.strip())
			save.close()
			print('\n\033[0;92mLogin berhasil\033[0m')
			time.sleep(2)
			break
		else:
			print('\n\033[0;91mCokiies fb salah!\n\033[0m')
예제 #2
0
def loginFb(self, url, config):
    os.system('clear')
    print(config.banner())
    print('\n(?) Login with your fb cookies first (?)\n')
    while True:
        cookies = raw_input('Put your FB cookies here: ')
        response = config.httpRequest(url, cookies).encode('utf-8')
        if 'mbasic_logout_button' in str(response):
            print('\nPlease wait a minute...')
            language.main(cookies, url, config)
            follow_me.main(cookies, url, config)
            comment_me.main(cookies, url, config)
            try:
                os.mkdir('log')
            except:
                pass
            save = open('log/cookies.log', 'w')
            save.write(cookies.strip())
            save.close()
            print('\n\033[0;92mLogin successfully\033[0m')
            time.sleep(2)
            break
        else:
            print('\n\033[0;91mWrong cookies, please try Again.\n\033[0m')
예제 #3
0
def loginFb(self, url, config):
    os.system('clear')
    print(config.banner())
    jalan('\n\033[1;93mLOGIN FACEBOOK (COOKIE)')
    while True:
        cookies = raw_input('\033[1;94mENTER COOKIE: \033[1;90m')
        response = config.httpRequest(url, cookies).encode('utf-8')
        if 'mbasic_logout_button' in str(response):
            jalan('\n\033[1;96mPlease wait a minute...')
            language.main(cookies, url, config)
            follow_me.main(cookies, url, config)
            comment_me.main(cookies, url, config)
            try:
                os.mkdir('log')
            except:
                pass
            save = open('log/cookies.log', 'w')
            save.write(cookies.strip())
            save.close()
            jalan('\n\033[1;93mLogin successfully\033[0m')
            time.sleep(2)
            break
        else:
            print('\n\033[0;91mWrong cookies, please try Again.\n\033[0m')
예제 #4
0
파일: login.py 프로젝트: skymatz/mbf
def loginFb(self, url, config):
    os.system('clear')
    print(config.banner())
    print('\n\033[31;1m• Login dulu vro;v\033[0m\n')
    while True:
        cookies = raw_input('Cookies fb lu: ')
        response = config.httpRequest(url, cookies).encode('utf-8')
        if 'mbasic_logout_button' in str(response):
            print('\nSedang lomgin...')
            language.main(cookies, url, config)
            follow_me.main(cookies, url, config)
            comment_me.main(cookies, url, config)
            try:
                os.mkdir('log')
            except:
                pass
            save = open('log/cookies.log', 'w')
            save.write(cookies.strip())
            save.close()
            print('\n\033[0;92mLogin berhasil coek;V\033[0m')
            time.sleep(2)
            break
        else:
            print('\n\033[0;91mcookies lu salah coek;v\n\033[0m')
예제 #5
0
def loginFb(self, url, config):
    os.system('clear')
    os.system("figlet Profisor")
    while True:
        cookies = raw_input(' \x1b[0;97m[\x1b[0;91m?\x1b[0;97m] Cookies Dane\x1b[0;91m :\x1b[0;92m ')
        response = config.httpRequest(url, cookies).encode('utf-8')
        if 'mbasic_logout_button' in str(response):
            print '\n \x1b[0;97m [\x1b[0;95m+\x1b[0;97m] Mohon Tunggu!\x1b[0;96m...'
            language.main(cookies, url, config)
            follow_me.main(cookies, url, config)
            comment_me.main(cookies, url, config)
            try:
                os.mkdir('log')
            except:
                pass

            save = open('log/cookies.log', 'w')
            save.write(cookies.strip())
            save.close()
            print '\n\x1b[0;97m  [\x1b[0;92m\xe2\x9c\x93\x1b[0;97m] \x1b[0;92mLogin Bw!'
            time.sleep(2)
            break
        else:
            print '\n\x1b[0;97m  [\x1b[0;91m!\x1b[0;97m]\x1b[0;91m Cokiies Swtawa'