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.3.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dll_injector-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 41d1aac1791a301f66014d38da7af1fe5743ec7a8d98354912b0936067495ab0
MD5 eb0280728d29220961a624a03979631c
BLAKE2b-256 0e883804823f8ea236943beb7286a7973ea74974cffc2e81b434635d514d91e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DLL_Injector-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7cb0c3d0c076b074e7347311707145700a82f35de5caac9105585954b628db07
MD5 928f11a3c02de744cb5fef9fdb575e46
BLAKE2b-256 50b73ad176227abf12dd6dacd5d5154e05b144c5906f3581a8d0da7756dc4faf

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