Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- THIS IS THE FASTES AND SHORTEST CODE TO CRASH WINDOWS => TRUST ME ;)
- ========= PRESS WIN+R AND PASTE THIS CODE =========
- cmd /q /c echo %0^|%0 > 1.bat && call 1.bat
- ========= WHATS HAPPENDS? =========
- If you execute this command, you will, in the worst-case scenario, paralyze your system until you restart your computer. This is a modified version of what is known as a **fork bomb** (specifically designed for the Windows Command Prompt).
- In short: **The command will crash or freeze your PC through an infinite loop.**
- Here is the exact step-by-step breakdown of what this code does:
- ### The Anatomy of the Command
- * **cmd /q /c**: Opens the Windows Command Prompt in the background. /q turns off the text display (echo), and /c tells Windows to execute the following command and then close itself.
- * **Echo %0^|%0 > 1.bat**:
- * In batch files, %0 represents the name of the command or the file itself.
- * The ^| is an escaped pipe symbol (|).
- * This part writes the text %0|%0 into a newly created file named 1.bat.
- * **&& call 1.bat**: If the file was created successfully (&&), this new file 1.bat is called and executed immediately.
- ### What happens when 1.bat is executed?
- As soon as 1.bat starts, the actual damage begins:
- 1. The file contains the command %0|%0.
- 2. Since %0 stands for its own filename, this translates to: 1.bat | 1.bat.
- 3. The file essentially **calls itself twice** and pipes the output of one into the other.
- 4. Each of these new instances then calls itself twice again.
- This leads to an **exponential growth** of processes (2 \rightarrow 4 \rightarrow 8 \rightarrow 16 \rightarrow 32\dots). Within fractions of a second, your processor attempts to open thousands of command prompts simultaneously.
- ### The Consequences for your PC
- * **100% CPU Usage:** Your processor will instantly be completely maxed out.
- * **Memory Exhaustion:** Your system will run out of RAM as Windows tries to manage the massive influx of processes.
- * **System Freeze:** Windows will stop responding, your mouse will lag or freeze entirely, and the PC may eventually crash with a Blue Screen (BSOD).
- > **Hardware Reassurance:** This command does not damage any physical components and does not delete any of your personal data. It simply consumes all available system resources. After a **hard reset** (holding down the power button on your PC), the magic is over, and your computer will run normally again.
Advertisement
Add Comment
Please, Sign In to add comment