PyMemoryEditor 1.5.23__tar.gz → 1.5.24__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PKG-INFO +1 -1
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/__init__.py +1 -1
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/win32/enums/memory_protections.py +1 -1
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/win32/functions.py +2 -1
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/.flake8 +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/.github/workflows/python-package.yml +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/.gitignore +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/LICENSE +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/Makefile +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/__main__.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/enums.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/linux/functions.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/linux/process.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/linux/ptrace/__init__.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/linux/ptrace/enums.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/linux/ptrace/ptrace.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/linux/types.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/process/__init__.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/process/abstract.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/process/errors.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/process/info.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/process/util.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/sample/application.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/sample/main_application_window.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/sample/open_process_window.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/util/__init__.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/util/convert.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/util/scan.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/util/search/abstract.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/util/search/bmh.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/util/search/kmp.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/win32/enums/__init__.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/win32/enums/memory_allocation_states.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/win32/enums/memory_types.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/win32/enums/process_operations.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/win32/enums/standard_access_rights.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/win32/process.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/win32/types.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/README.md +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/pyproject.toml +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/requirements.txt +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/tests/conftest.py +0 -0
- {pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/tests/test_editor.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyMemoryEditor
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.24
|
|
4
4
|
Summary: Multi-platform library developed with ctypes for reading, writing and searching at process memory, in a simple and friendly way with Python 3.
|
|
5
5
|
Project-URL: Homepage, https://github.com/JeanExtreme002/PyMemoryEditor
|
|
6
6
|
Author-email: Jean Loui Bernard Silva de Jesus <jeanextreme002@gmail.com>
|
|
@@ -8,7 +8,7 @@ The package supports Windows and Linux (32-bit and 64-bit).
|
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
10
|
__author__ = "Jean Loui Bernard Silva de Jesus"
|
|
11
|
-
__version__ = "1.5.
|
|
11
|
+
__version__ = "1.5.24"
|
|
12
12
|
|
|
13
13
|
from .enums import ScanTypesEnum
|
|
14
14
|
from .process.errors import ClosedProcess, ProcessIDNotExistsError, ProcessNotFoundError
|
{pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/win32/enums/memory_protections.py
RENAMED
|
@@ -57,7 +57,7 @@ class MemoryProtectionsEnum(Enum):
|
|
|
57
57
|
PAGE_READWRITE = 0x04
|
|
58
58
|
|
|
59
59
|
# Indicates memory page is readable. (Custom constant)
|
|
60
|
-
PAGE_READABLE = PAGE_EXECUTE_READ | PAGE_EXECUTE_READWRITE | PAGE_READWRITE
|
|
60
|
+
PAGE_READABLE = PAGE_EXECUTE_READ | PAGE_EXECUTE_READWRITE | PAGE_READWRITE | PAGE_READONLY
|
|
61
61
|
|
|
62
62
|
# Indicates memory page is readable and writeable. (Custom constant)
|
|
63
63
|
PAGE_READWRITEABLE = PAGE_EXECUTE_READWRITE | PAGE_READWRITE
|
|
@@ -174,7 +174,8 @@ def SearchAddressesByValue(
|
|
|
174
174
|
|
|
175
175
|
# Only committed, non-shared and readable memory pages.
|
|
176
176
|
if region["struct"].State != MemoryAllocationStatesEnum.MEM_COMMIT.value: continue
|
|
177
|
-
if region["struct"].Type != MemoryTypesEnum.MEM_PRIVATE.value
|
|
177
|
+
if (region["struct"].Type != MemoryTypesEnum.MEM_PRIVATE.value and
|
|
178
|
+
region["struct"].Type != MemoryTypesEnum.MEM_IMAGE.value): continue
|
|
178
179
|
if region["struct"].Protect & MemoryProtectionsEnum.PAGE_READABLE.value == 0: continue
|
|
179
180
|
|
|
180
181
|
# If writeable_only is True, checks if the memory page is writeable.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/sample/main_application_window.py
RENAMED
|
File without changes
|
{pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/sample/open_process_window.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/win32/enums/process_operations.py
RENAMED
|
File without changes
|
{pymemoryeditor-1.5.23 → pymemoryeditor-1.5.24}/PyMemoryEditor/win32/enums/standard_access_rights.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|