Created
April 18, 2022 10:58
-
-
Save paulwababu/94c6f2752201a917268122d696cac1ef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from selenium import webdriver | |
from time import sleep | |
from colorama import init, Fore, Style | |
init(autoreset=True) | |
def loop1(): # views | |
sleep(20) | |
try: | |
driver.find_element_by_xpath("/html/body/div[4]/div[1]/div[3]/div/div[4]/div/button").click() | |
except: | |
print("You didn't solve the captcha yet. Need to refresh to avoid endless loop.") | |
driver.refresh() | |
loop1() | |
try: | |
sleep(2) | |
driver.find_element_by_xpath("//*[@id=\"sid4\"]/div/form/div/input").send_keys(vidUrl) | |
sleep(1) | |
driver.find_element_by_xpath("//*[@id=\"sid4\"]/div/form/div/div/button").click() | |
sleep(2) | |
driver.find_element_by_xpath("//*[@id=\"c2VuZC9mb2xsb3dlcnNfdGlrdG9V\"]/div[1]/div/form/button").click() | |
sleep(10) | |
driver.refresh() | |
print("") | |
print(">>> Views Sent <<<") | |
print("") | |
sleep(330) | |
loop1() | |
except: | |
print("A generic error occurred. Now will retry again") | |
driver.refresh() | |
sleep(20) | |
loop1() | |
def loop2(): # followers | |
sleep(10) | |
try: | |
driver.find_element_by_xpath("/html/body/div[4]/div[1]/div[3]/div/div[1]/div/button").click() | |
except: | |
print("You didn't solve the captcha yet. Need to refresh to avoid endless loop.") | |
driver.refresh() | |
loop2() | |
try: | |
sleep(2) | |
driver.find_element_by_xpath("//*[@id=\"sid\"]/div/form/div/input").send_keys(vidUrl) | |
sleep(1) | |
driver.find_element_by_xpath("//*[@id=\"sid\"]/div/form/div/div/button").click() | |
sleep(2) | |
driver.find_element_by_xpath("//*[@id=\"c2VuZF9mb2xsb3dlcnNfdGlrdG9r\"]/div[1]/div/form/button").click() | |
sleep(10) | |
driver.refresh() | |
print("") | |
print(">>> Followers Sent <<<") | |
print("") | |
sleep(2520) | |
loop2() | |
except: | |
print("A generic error occurred. Now will retry again") | |
driver.refresh() | |
sleep(20) | |
loop2() | |
def loop3(): # shares | |
sleep(10) | |
try: | |
driver.find_element_by_xpath("/html/body/div[4]/div[1]/div[3]/div/div[5]/div/button").click() | |
except: | |
print("You didn't solve the captcha yet. Need to refresh to avoid endless loop.") | |
driver.refresh() | |
loop3() | |
try: | |
sleep(2) | |
driver.find_element_by_xpath("/html/body/div[4]/div[6]/div/form/div/input").send_keys(vidUrl) | |
sleep(1) | |
driver.find_element_by_xpath("/html/body/div[4]/div[6]/div/form/div/div/button").click() | |
sleep(2) | |
driver.find_element_by_xpath("//*[@id=\"c2VuZC9mb2xsb3dlcnNfdGlrdG9s\"]/div/div/form/button").click() | |
sleep(10) | |
driver.refresh() | |
print("") | |
print(">>> Shares Sent <<<") | |
print("") | |
sleep(110) | |
loop3() | |
except: | |
print("A generic error occurred. Now will retry again") | |
driver.refresh() | |
sleep(20) | |
loop3() | |
def loop4(): # likes | |
sleep(10) | |
try: | |
driver.find_element_by_xpath("/html/body/div[4]/div[1]/div[3]/div/div[2]/div/button").click() | |
except: | |
print("You didn't solve the captcha yet. Need to refresh to avoid endless loop.") | |
driver.refresh() | |
loop4() | |
try: | |
sleep(2) | |
driver.find_element_by_xpath("/html/body/div[4]/div[3]/div/form/div/input").send_keys(vidUrl) | |
sleep(1) | |
driver.find_element_by_xpath("/html/body/div[4]/div[3]/div/form/div/div/button").click() | |
sleep(2) | |
driver.find_element_by_xpath("/html/body/div[4]/div[3]/div/div/div[1]/div/form/button").click() | |
sleep(10) | |
driver.refresh() | |
print("") | |
print(">>> Hearts Sent <<<") | |
print("") | |
sleep(3015) | |
loop4() | |
except: | |
print("A generic error occurred. Now will retry again") | |
driver.refresh() | |
sleep(20) | |
loop4() | |
def loop5(): # comment likes | |
sleep(10) | |
try: | |
driver.find_element_by_xpath("/html/body/div[4]/div[1]/div[3]/div/div[3]/div/button").click() | |
except: | |
print("You didn't solve the captcha yet. Need to refresh to avoid endless loop.") | |
driver.refresh() | |
loop5() | |
try: | |
sleep(2) | |
driver.find_element_by_xpath("/html/body/div[4]/div[4]/div/form/div/input").send_keys(vidUrl) | |
sleep(1) | |
driver.find_element_by_xpath("/html/body/div[4]/div[4]/div/form/div/div/button").click() | |
sleep(2) | |
driver.find_element_by_xpath("//*[@id=\"c2VuZC9mb2xsb3dlcnNfdGlrdG9r\"]/div/div/form/button").click() | |
sleep(5) | |
driver.find_element_by_xpath("//*[@id=\"c2VuZC9mb2xsb3dlcnNfdGlrdG9r\"]/form/ul/li/div/button").click() | |
driver.refresh() | |
print("") | |
print(">>> Comment Likes Sent <<<") | |
print("") | |
sleep(60) | |
loop5() | |
except: | |
print("A generic error occurred. Now will retry again") | |
driver.refresh() | |
sleep(20) | |
loop5() | |
def banner(): | |
print(Style.BRIGHT + ''' | |
---------- TikTok Bot ----------''' + Style.NORMAL + Fore.RED + ''' | |
This tool is for educational purposes only | |
Do not use it for illegal work or without the consent of the target | |
I am not responsible for any action taken using this script | |
I am not responsible for any damage of any kind for using this script''' + Fore.WHITE + Style.BRIGHT + ''' | |
©copyright Simon Farah (https://www.github.com/simonfarah/) | |
------------------------------- | |
''') | |
if __name__ == '__main__': | |
banner() | |
vidUrl = input("Your Video URL : ") | |
print("") | |
bot = int(input("What do you want to do? \n1 - Get Views \n2 - Get Followers \n3 - Get Shares \n4 - Get Likes \n5 - Get Comments Likes \nPlease insert a number from the list : ")) | |
print("\n--------------------------------------") | |
if (bot > 5 or bot < 1): | |
print("You can insert just 1, 2, 3, 4 or 5\nExiting...") | |
sleep(5) | |
else: | |
PATH = os.getcwd() + "/geckodriver" # if you are not using windows, remove the .exe and run the script | |
driver = webdriver.Firefox(executable_path=PATH) | |
driver.get("https://zefoy.com/") | |
if bot == 1: | |
loop1() | |
elif bot == 2: | |
loop2() | |
elif bot == 3: | |
loop3() | |
elif bot == 4: | |
loop4() | |
else: # bot == 5 | |
loop5() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hashcat -m 7100 --username <hash_file> <wordlist_file>
john <hash_file> -w <wordlist_file>