Skip to main content

DLL-Injector is a library for injecting DLLs into processes using Python.

Project description

DLL-Injector

Downloads Version Python Version

DLL-Injector is a library that allows injecting DLLs into processes via Python.

Set up


Install

pip install DLL-Injector

Upgrade

pip install --upgrade DLL-Injector

Support

If you want to contact me for questions, bugs, or problems or other : lixnew2@gmail.com

Python version

DLL-Injector was written for Python 3.

Functions

Inject a DLL into a process

inject(dll_path: str, process_name: str = None, process_pid: int = None)
# Injects a DLL into a process specified by its name or PID.
# NOTE: You must specify at least one of the two arguments (process_name, process_pid).
args = dll_path, process_name (optional), process_pid (optional)

Function Documentation

inject

Injects a DLL into a specified process.

Arguments:

  • dll_path (str): The path to the DLL file.
  • process_name (str, optional): The name of the process to inject the DLL into.
  • process_pid (int, optional): The process ID of the process to inject the DLL into.
  • WARNING: At least one of the two arguments (process_name, process_pid) must be specified.

Raises:

  • ValueError: If the DLL path is not specified, does not exist, or is not a valid DLL file.
  • ValueError: If neither the process name nor the process ID is specified.
  • ValueError: If the process name is specified but the process does not exist.
  • ValueError: If the process ID is specified but does not exist.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dll_injector-1.0.5.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

DLL_Injector-1.0.5-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file dll_injector-1.0.5.tar.gz.

File metadata

  • Download URL: dll_injector-1.0.5.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.2

File hashes

Hashes for dll_injector-1.0.5.tar.gz
Algorithm Hash digest
SHA256 6e65180b2085b23151df8c198e663de651e433b66ca57d707095317485c4569c
MD5 9309d7ebad643af345802714688950f0
BLAKE2b-256 120bd14e7d0b8f8bef9319ef0bcdc9b452d6944e58181b0847feecefca35d409

See more details on using hashes here.

File details

Details for the file DLL_Injector-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for DLL_Injector-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8cde58d04353c08afa29458ce5941693585da9c04e2c632e5f81ef3fe0955d31
MD5 c2c38474c2416ff5f612fcabf12e7067
BLAKE2b-256 48bbf4fc0c6e01314cb018d0b02702c80227b8f36aca76f3446dc7cadac0be0c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page