https://github.com/liragbr/russianroulette
Welcome to the Windows 32 Russian Roulette! This is a game of chance where you pick a chamber, and if you're unlucky, you might end up deleting critical system files from your Windows 32 directory.
https://github.com/liragbr/russianroulette
admin critical dangerous delete destructive files script system windows windows32
Last synced: 3 months ago
JSON representation
Welcome to the Windows 32 Russian Roulette! This is a game of chance where you pick a chamber, and if you're unlucky, you might end up deleting critical system files from your Windows 32 directory.
- Host: GitHub
- URL: https://github.com/liragbr/russianroulette
- Owner: Liragbr
- Created: 2024-05-07T16:45:16.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-25T08:39:45.000Z (about 1 year ago)
- Last Synced: 2025-01-09T05:25:11.123Z (5 months ago)
- Topics: admin, critical, dangerous, delete, destructive, files, script, system, windows, windows32
- Language: JavaScript
- Homepage:
- Size: 40 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎰 Windows 32 Russian Roulette
Welcome to the Windows 32 Russian Roulette! This is a game of chance where you pick a chamber, and if you're unlucky, you might end up deleting critical system files from your Windows 32 directory.
## References
- "The Web Application Hacker's Handbook" de Dafydd Stuttard e Marcus Pinto
- "Hacking: The Art of Exploitation" de Jon Erickson
- "Gray Hat Python: Python Programming for Hackers and Reverse Engineers" de Justin Seitz
## Languages
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
## Explanations
If you open Visual Studio Code (or any other code editor) as an *administrator* and run this code on a Windows system, the code may delete the ```"C:\Windows\System32"``` directory. Here's what you should consider:**Administrator Permissions:** Running the code editor as an administrator gives the program elevated permissions, allowing it to make changes to protected areas of the system, such as the "C:\Windows\System32" directory.
**User Account (UAC):** When you open VS Code as an administrator, you have already passed UAC verification, which means the program has the necessary permissions to perform actions that would normally be blocked.Windows
**File Protection (WFP):** Although WFP may attempt to restore critical files automatically, deleting the entire directory may cause damage before WFP can restore the files.
**Locking Files in Use:** Many files in the "System32" directory are in use by the system and may not be deleted immediately. However, attempting to delete the entire directory may cause unpredictable behavior and corrupt the system.
Running this code with administrator permissions is extremely dangerous and may result in the deletion of critical system files, rendering Windows unusable. You would need to reinstall the operating system to restore normal functionality.
## Disclaimer
**Warning:** This game is provided purely for educational and entertainment purposes. Deleting critical system files can cause irreparable damage to your system, leading to data loss and rendering your computer inoperable.
**DO NOT RUN THIS CODE ON A REAL SYSTEM.** Running this program can have severe consequences for your computer and personal data.## âš How to Play
```
1. Run the program.
2. Pick a chamber number between 1 and 6.
3. Pray it's not the chamber with the bullet (i.e., the randomly chosen number).
```