Path: blob/master/payloads/library/prank/Pranh(ex)/assets/pranh(ex).py
2968 views
import ctypes1from time import sleep23def show_error_popup(message):4while True:5result = ctypes.windll.user32.MessageBoxW(None, message, 'Errore', 0x10 | 0x1) # 0x10 = MB_ICONERROR, 0x1 = MB_OK6if result == 1: # 1 is OK7message = "What do you believe yourself? That I leave so easily?"8continue # Open the popup9elif result == 2: # 2 is Cancel10result = ctypes.windll.user32.MessageBoxW(None, "Are you sure you want to close? I will miss you :'(", 'Chiusura', 0x10 | 0x4) # 0x10 = MB_ICONERROR, 0x4 = MB_YESNO11if result == 6: # 6 is "Yes"12ctypes.windll.user32.MessageBoxW(None, "Okay, I'll stop. But don't get mad...", 'Informazione', 0x40) # 0x40 = MB_ICONINFORMATION13break # Close the popup14else:15message = "You seem a little indecisive honestly...."16continue # Open the popup1718error_message = "Yoh bro be very careful with executables!"19show_error_popup(error_message)20sleep(60) # Time-Based Easter Egg ^^21ctypes.windll.user32.MessageBoxW(None, "However, know that you remain in my heart, yay for DuckyScrip and Hak5. ^^", 'Informazione', 0x40)2223