import pyautogui import time import keyboard import pyperclip # Define a list to store mouse positions mouse_positions = [] # Function to record mouse position when 'o' is pressed def record_mouse_position(): mouse_positions.append(pyautogui.position()) print(f"Mouse position recorded: {pyautogui.position()}") # Function to copy a generated word to the clipboard def copy_generated_word(word): pyperclip.copy(word) # Function to paste data from clipboard def paste_from_clipboard(): pyautogui.hotkey('ctrl', 'v') # Simulate Ctrl+V to paste pyautogui.press('enter') time.sleep(0.5) # 500ms delay # Function to generate a word based on predefined lists def generate_key(): word_lists = [ ["the", "if", "of", "as", "in", "a", "you", "from", "to", "an", "too", "little", "snow", "dead", "drunk", "rosebud", "duck", "al", "le"], ["diamond", "beer", "mushroom", "assistant", "clown", "captain", "twinkie", "security", "nuke", "small", "big", "escape", "yellow", "gloves", "monkey", "engine", "nuclear", "ai"], ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] ] new_key = "" for word_list in word_lists: # Concatenate words from each list new_key += word_list[0] # Always select the first word from each list return new_key # Function to display a countdown before starting the brute force def countdown(): for i in range(5, 0, -1): print(f"Starting in {i} seconds...") time.sleep(1) # Function for a simple example of a brute force operation (replace with your specific logic) def perform_brute_force(): for i in range(10): word = generate_key() copy_generated_word(word) for pos in mouse_positions: pyautogui.click(pos) paste_from_clipboard() # Pasting instead of typing time.sleep(1) # Add your specific delay between attempts # Main loop while True: user_input = input("Press 'o' to record mouse position, 'p' to paste a generated word, 'i' or 'esc' to stop, or 's' to start the brute force: ") if user_input == 'o': record_mouse_position() elif user_input == 'p': word = generate_key() copy_generated_word(word) for pos in mouse_positions: pyautogui.click(pos) countdown() # Display the countdown before starting the brute force paste_from_clipboard() # Pasting instead of typing perform_brute_force() # Start the brute force operation elif user_input == 'i' or user_input == 'esc': break print("Exiting the script.") -=-= import pyautogui import time import keyboard import pyperclip # Define a list to store mouse positions mouse_positions = [] # Function to record mouse position when 'o' is pressed def record_mouse_position(): mouse_positions.append(pyautogui.position()) print(f"Mouse position recorded: {pyautogui.position()}") # Function to copy a generated word to the clipboard def copy_generated_word(word): pyperclip.copy(word) # Function to paste data from clipboard def paste_from_clipboard(): pyautogui.hotkey('ctrl', 'v') # Simulate Ctrl+V to paste # Function to generate a word based on predefined lists def generate_key(): word_lists = [ ["the", "if", "of", "as", "in", "a", "you", "from", "to", "an", "too", "little", "snow", "dead", "drunk", "rosebud", "duck", "al", "le"], ["diamond", "beer", "mushroom", "assistant", "clown", "captain", "twinkie", "security", "nuke", "small", "big", "escape", "yellow", "gloves", "monkey", "engine", "nuclear", "ai"], ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] ] new_key = "" for word_list in word_lists: # Concatenate words from each list new_key += word_list[0] # Always select the first word from each list return new_key # Function to display a countdown before starting the brute force def countdown(): for i in range(5, 0, -1): print(f"Starting in {i} seconds...") time.sleep(1) # Function for a simple example of a brute force operation (replace with your specific logic) def perform_brute_force(): for i in range(10): word = generate_key() copy_generated_word(word) for pos in mouse_positions: pyautogui.click(pos) paste_from_clipboard() # Pasting instead of typing time.sleep(1) # Add your specific delay between attempts # Main loop while True: user_input = input("Press 'o' to record mouse position, 'p' to paste a generated word, 'i' or 'esc' to stop, or 's' to start the brute force: ") if user_input == 'o': record_mouse_position() elif user_input == 'p': word = generate_key() copy_generated_word(word) for pos in mouse_positions: pyautogui.click(pos) countdown() # Display the countdown before starting the brute force perform_brute_force() # Start the brute force operation elif user_input == 'i' or user_input == 'esc': break print("Exiting the script.")