From 54f1b7edf8bfe50c62a3bd200becc22892dbc483 Mon Sep 17 00:00:00 2001 From: Danial Ahmed <82535503+unofficialdxnny@users.noreply.github.com> Date: Wed, 31 May 2023 00:21:01 +0100 Subject: [PATCH] Delete v5 directory --- v5/Snapify.py | 112 ------------------------------------------------- v5/config.json | 4 -- v5/help.txt | 9 ---- v5/send.txt | 1 - 4 files changed, 126 deletions(-) delete mode 100644 v5/Snapify.py delete mode 100644 v5/config.json delete mode 100644 v5/help.txt delete mode 100644 v5/send.txt diff --git a/v5/Snapify.py b/v5/Snapify.py deleted file mode 100644 index 24d0141..0000000 --- a/v5/Snapify.py +++ /dev/null @@ -1,112 +0,0 @@ -from pystyle import * -from selenium import webdriver -from webdriver_manager.chrome import ChromeDriverManager -from selenium.webdriver.common.by import By -from selenium.webdriver.support.ui import WebDriverWait -from selenium.webdriver.support import expected_conditions as EC -from selenium.webdriver.chrome.options import Options -from selenium.webdriver.chrome.service import Service as ChromeService -from selenium.webdriver.remote.remote_connection import LOGGER -from selenium.common.exceptions import NoSuchElementException - -import logging -import os -import json - - - - -config = open('config.json', 'r') -data = json.load(config) - - -banner = """ - - %( #% - %### ###% - %%%%##### @@@/@@@/@@@, #####%##% ███████╗███╗ ██╗ █████╗ ██████╗ ██╗███████╗██╗ ██╗ - %&%%%#%&@ @&%%#%%&% ██╔════╝████╗ ██║██╔══██╗██╔══██╗██║██╔════╝╚██╗ ██╔╝ - %&&% %%%&% ███████╗██╔██╗ ██║███████║██████╔╝██║█████╗ ╚████╔╝ - @@ @% ╚════██║██║╚██╗██║██╔══██║██╔═══╝ ██║██╔══╝ ╚██╔╝ - @@ @& ███████║██║ ╚████║██║ ██║██║ ██║██║ ██║ - *@/ @@ @* @@ ╚══════╝╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ - ,@@ &@@ - / @@ #1 Free Snapchat booster. - @@ @% Developed by @unofficialdxnny - @@ &@# - %@@@* @@@@* V2 | need help? Join Server : https://discord.gg/8WyFZF3kqn - &@@@@( @@@@@ - @@@@@@@ #@@@@@@@ Commands | Snapify - @@@#@@(##@@( - - -""" - -LOGGER.setLevel(logging.WARNING) - -options = Options() -options.page_load_strategy = 'eager' -options.add_argument(f"--user-data-dir={data['path_to_user_data']}") -options.add_argument(f'--profile-directory={data["path_to_chrome"]}') -options.add_argument('--disable-blink-features=AutomationControlled') -options.add_argument("--log-level=OFF") -options.add_experimental_option("detach", True) - -## Use ChromeDriverManager to automatically download and install the latest version of chromedriver - -driver = webdriver.Chrome(ChromeDriverManager().install(), options=options) - -driver.get("https://web.snapchat.com") # Login to Snapchat -wait = WebDriverWait(driver, 100) - -os.system('cls & title Snapify v5 ~ unofficialdxnny') -Write.Print(f"{banner}", Col.DynamicMIX((Col.white, Col.yellow)) -, interval=0) - - - -while True: - - try: - main_input = Write.Input(f"Snapify>", Col.DynamicMIX((Col.white, Col.yellow)), interval=0).lower() - - split = main_input.split() - - null = '' - - - if main_input == 'snapify': - with open('help.txt', 'r') as help: - line = help.readlines() - for lines in line: - Write.Print(lines, Col.DynamicMIX((Col.white, Col.yellow)), interval=0) - print('') - - elif main_input == 'snapify reset': - os.system('cls') - Write.Print(f"{banner}", Col.DynamicMIX((Col.white, Col.yellow)), interval=0) - - - elif main_input == 'snapify capture': - capture = driver.find_element(By.XPATH, '//*[@id="root"]/div[1]/div[2]/div/div/div/div/div[1]/div/div/div/div/div/div[2]/div/div/div[1]/button[1]') - capture.click() - - elif main_input == 'snapify send': - with open('send.txt', 'r') as ppl: - lines = ppl.readlines() - sendTo = driver.find_element(By.XPATH, '//*[@id="root"]/div[1]/div[2]/div/div/div/div/div[1]/div/div/div/div/div/button[2]') - for line in lines: - send = driver.find_element(By.XPATH, line) - send.click() - - snap_send = driver.find_element(By.XPATH, '/html/body/main/div[1]/div[2]/div/div/div/div/div[1]/div/div/div/div/div[1]/form/div[3]/div/button') - snap_send.click() - - elif main_input == null: - print('') - - - except NoSuchElementException as e: - print("Error: Element not found on webpage. {}".format(str(e))) - - \ No newline at end of file diff --git a/v5/config.json b/v5/config.json deleted file mode 100644 index 2f881ff..0000000 --- a/v5/config.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "path_to_chrome": "C:/Program Files/Google/Chrome/Application/chrome.exe", - "path_to_user_data": "C:/Users/ahmed/AppData/Local/Google/Chrome/User Data" -} \ No newline at end of file diff --git a/v5/help.txt b/v5/help.txt deleted file mode 100644 index 625176f..0000000 --- a/v5/help.txt +++ /dev/null @@ -1,9 +0,0 @@ - -Snapify Help - -This command will make your time with Snapiffy alot easier and efficient. You will see all available commands and what they do. - -Snapify : Prints out all commands for Snapiffy onto the terminal. -Snapify Reset : Resets Snapify to its default state. -Snapify Capture : Captures a frame from your camera. -Snapify Send : Send capture to selective people. diff --git a/v5/send.txt b/v5/send.txt deleted file mode 100644 index de6d54d..0000000 --- a/v5/send.txt +++ /dev/null @@ -1 +0,0 @@ -/html/body/main/div[1]/div[2]/div/div/div/div/div[1]/div/div/div/div/div[1]/form/ul/li[49]/div \ No newline at end of file