Giter VIP home page Giter VIP logo

pycrasher's Introduction

PyCrasher

License

Overview

PyCrasher is a Python utility for forcibly terminating processes on a Windows machine by their Process ID (PID) or process name. Inspired by low-level Windows programming, PyCrasher leverages the ctypes library to interact with the Windows API.

โš ๏ธ Warning: This tool is for educational purposes only. Use it responsibly and ethically. Improper use can lead to data loss or system instability. Always ensure you have the necessary permissions to terminate processes.

Features

  • Crash by PID: Terminate a process using its PID.
  • Crash by Name: Terminate all processes matching a given name.

Installation

Method 1

You can download an optimized and pre compiled release here

Method 2

  1. Clone the repository:
    git clone https://github.com/JancoNel-dev/pycrasher.git
    cd pycrasher
  2. Ensure you have Python 3.x installed on your system.
  3. Run the main file
    python main.py (PID)

Usage

Run the script with administrator privileges to ensure it has the necessary permissions to terminate processes.

Command Line

  • Crash a process by its PID:

    python main.py <PID>
  • Crash processes by name:

    python main.py <ProcessName>

Examples

  • Terminate a process with PID 1234:

    python main.py 1234
  • Terminate all instances of notepad.exe:

    python main.py notepad.exe

Code Structure

  • main.py: The main script containing the logic for terminating processes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Disclaimer

This tool is intended for educational purposes only. The author is not responsible for any damage caused by the use of this tool. Use it responsibly and only on systems you have permission to operate on.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

Contact

For issues or questions, please open an issue on the GitHub repository.


Happy crashing!

pycrasher's People

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.