Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 2.92 KB

File metadata and controls

76 lines (48 loc) · 2.92 KB

🤪 Brace For Impact Prank Shutdown Script

A fun, harmless Python script designed to create momentary chaos on a Windows PC by flooding the screen with command prompts and pop-up images before initiating a system shutdown countdown.

⚠️ Disclaimer: This script is intended purely for harmless, temporary pranks against consenting individuals or on your own machine. Use responsibly and ensure the target knows the shutdown can be easily cancelled.

✨ Features

  • Custom Message: Displays the message "Brace for impact twin" both in the terminal and in the official Windows shutdown alert.
  • Screen Flood: Opens multiple command prompt (CMD) windows simultaneously.
  • Image Barrage: Opens a specific image URL repeatedly in the user's default web browser or image viewer.
  • Standalone Executable: Can be compiled into a single .exe file using PyInstaller, making it easily deployable on any Windows machine without requiring Python installation.

🛠️ Configuration

You can easily adjust the prank parameters within the prank_shutdown.py file:

# --- Configuration ---
message = "Brace for impact twin"
delay_seconds = 10        # Time before shutdown executes (in seconds)
number_of_pranks = 10     # Number of CMD windows and images to open
chaos_duration = 3        # Time to wait after chaos starts and before shutdown begins
image_url = "[https://imgs.search.brave.com/t-Yc0vaEDRHZqisMGcholqWBUX8xbGY-UdYKpM-qRbA/rs:fit:860:0:0:0/g:ce/aHR0cHM6Ly9pLmltZ2ZsaXAuY29tLzQvZTlkNzAuanBn](https://imgs.search.brave.com/t-Yc0vaEDRHZqisMGcholqWBUX8xbGY-UdYKpM-qRbA/rs:fit:860:0:0:0/g:ce/aHR0cHM6Ly9pLmltZ2ZsaXAuY29tLzQvZTlkNzAuanBn)" 

🚀 Installation & Usage

1. Requirements

  • Python (3.x recommended)
  • PyInstaller library

2. Setup PyInstaller

Open your terminal or Command Prompt and install PyInstaller:

pip install pyinstaller

3. Create the Executable

  1. Save the Python script (the one with the flooding logic) as prank_shutdown.py.
  2. Navigate your terminal to the directory where you saved the file.
  3. Run the PyInstaller command to generate a single executable file:
pyinstaller --onefile prank_shutdown.py

4. Deploy

The resulting executable, named prank_shutdown.exe, will be located in a new folder called dist.

  • For best results, rename the executable to something inconspicuous (e.g., Important_Notes.exe).
  • Double-click the file to execute the prank!

🛑 How to Cancel the Shutdown

In the event of accidental execution or if the user needs to stop the countdown quickly, the shutdown can be immediately aborted using the Windows Run dialog.

  1. Press Windows Key + R to open the Run dialog.
  2. Type the following command and press Enter:
shutdown /a

(The /a flag stands for "abort")