GithubHelp home page GithubHelp logo

liragbr / russianroulette Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 41 KB

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.

C++ 13.92% C# 16.26% Go 12.17% Python 9.51% Java 19.02% JavaScript 21.15% Ruby 7.96%
delete windows32 admin critical dangerous destructive files script system windows

russianroulette's Introduction

๐ŸŽฐ 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

cplusplus logo javascript logo ruby logo csharp logo go logo python logo java logo

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).

russianroulette's People

Contributors

liragbr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.