pylockware 2.0.0__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.
Files changed (70) hide show
  1. pylockware-2.0.0/.github/workflows/python-publish.yml +70 -0
  2. pylockware-2.0.0/.gitignore +59 -0
  3. pylockware-2.0.0/MANIFEST.in +25 -0
  4. pylockware-2.0.0/PKG-INFO +644 -0
  5. pylockware-2.0.0/README.md +593 -0
  6. pylockware-2.0.0/docs/VIRTUALIZATION.md +381 -0
  7. pylockware-2.0.0/pylockware/__init__.py +79 -0
  8. pylockware-2.0.0/pylockware/anti_debug/__init__.py +15 -0
  9. pylockware-2.0.0/pylockware/anti_debug/antidebug_crossplatform.py +508 -0
  10. pylockware-2.0.0/pylockware/anti_debug/antidebug_llvm.py +1001 -0
  11. pylockware-2.0.0/pylockware/cli/__init__.py +3 -0
  12. pylockware-2.0.0/pylockware/cli/build.py +173 -0
  13. pylockware-2.0.0/pylockware/cli/main.py +129 -0
  14. pylockware-2.0.0/pylockware/core/__init__.py +9 -0
  15. pylockware-2.0.0/pylockware/core/module_base.py +69 -0
  16. pylockware-2.0.0/pylockware/core/module_manager.py +98 -0
  17. pylockware-2.0.0/pylockware/core/name_generator.py +72 -0
  18. pylockware-2.0.0/pylockware/core/obfuscator.py +321 -0
  19. pylockware-2.0.0/pylockware/decorators.py +101 -0
  20. pylockware-2.0.0/pylockware/gui/__init__.py +3 -0
  21. pylockware-2.0.0/pylockware/gui/main.py +28 -0
  22. pylockware-2.0.0/pylockware/gui/obfuscator_gui.py +789 -0
  23. pylockware-2.0.0/pylockware/modules/__init__.py +19 -0
  24. pylockware-2.0.0/pylockware/modules/anti_debug_module.py +123 -0
  25. pylockware-2.0.0/pylockware/modules/builtin_dispatcher_module.py +214 -0
  26. pylockware-2.0.0/pylockware/modules/call_obf_module.py +298 -0
  27. pylockware-2.0.0/pylockware/modules/decorator_obf_module.py +71 -0
  28. pylockware-2.0.0/pylockware/modules/disable_traceback_module.py +97 -0
  29. pylockware-2.0.0/pylockware/modules/import_obf_module.py +189 -0
  30. pylockware-2.0.0/pylockware/modules/junk_code_module.py +82 -0
  31. pylockware-2.0.0/pylockware/modules/nuitka_builder_module.py +502 -0
  32. pylockware-2.0.0/pylockware/modules/number_obf_module.py +92 -0
  33. pylockware-2.0.0/pylockware/modules/remap_module.py +328 -0
  34. pylockware-2.0.0/pylockware/modules/remove_annotations_module.py +197 -0
  35. pylockware-2.0.0/pylockware/modules/state_machine_module.py +100 -0
  36. pylockware-2.0.0/pylockware/modules/string_protect_module.py +73 -0
  37. pylockware-2.0.0/pylockware/modules/type_annotation_obf_module.py +71 -0
  38. pylockware-2.0.0/pylockware/modules/virtualization_module.py +410 -0
  39. pylockware-2.0.0/pylockware/sdk/__init__.py +19 -0
  40. pylockware-2.0.0/pylockware/sdk/builder.py +228 -0
  41. pylockware-2.0.0/pylockware/sdk/config.py +477 -0
  42. pylockware-2.0.0/pylockware/transforms/__init__.py +10 -0
  43. pylockware-2.0.0/pylockware/transforms/annotation_aware_transformer.py +123 -0
  44. pylockware-2.0.0/pylockware/transforms/builtin_dispatcher.py +197 -0
  45. pylockware-2.0.0/pylockware/transforms/decorator_obf.py +195 -0
  46. pylockware-2.0.0/pylockware/transforms/junk_code_transformer.py +703 -0
  47. pylockware-2.0.0/pylockware/transforms/num_obf.py +560 -0
  48. pylockware-2.0.0/pylockware/transforms/remap_transformer.py +234 -0
  49. pylockware-2.0.0/pylockware/transforms/state_machine_transformer.py +962 -0
  50. pylockware-2.0.0/pylockware/transforms/str_prot.py +383 -0
  51. pylockware-2.0.0/pylockware/transforms/type_annotation_obf.py +181 -0
  52. pylockware-2.0.0/pylockware/vendor/__init__.py +3 -0
  53. pylockware-2.0.0/pylockware/vendor/customvm/README.md +27 -0
  54. pylockware-2.0.0/pylockware/vendor/customvm/__init__.py +8 -0
  55. pylockware-2.0.0/pylockware/vendor/customvm/builder.py +293 -0
  56. pylockware-2.0.0/pylockware/vendor/customvm/compiler.py +970 -0
  57. pylockware-2.0.0/pylockware/vendor/customvm/crypto.py +84 -0
  58. pylockware-2.0.0/pylockware/vendor/customvm/loader.py +167 -0
  59. pylockware-2.0.0/pylockware/vendor/customvm/opcodes.py +97 -0
  60. pylockware-2.0.0/pylockware/vendor/customvm/vm.py +554 -0
  61. pylockware-2.0.0/pylockware.egg-info/PKG-INFO +644 -0
  62. pylockware-2.0.0/pylockware.egg-info/SOURCES.txt +68 -0
  63. pylockware-2.0.0/pylockware.egg-info/dependency_links.txt +1 -0
  64. pylockware-2.0.0/pylockware.egg-info/entry_points.txt +6 -0
  65. pylockware-2.0.0/pylockware.egg-info/requires.txt +31 -0
  66. pylockware-2.0.0/pylockware.egg-info/top_level.txt +1 -0
  67. pylockware-2.0.0/pyproject.toml +96 -0
  68. pylockware-2.0.0/requirements.txt +11 -0
  69. pylockware-2.0.0/setup.cfg +4 -0
  70. pylockware-2.0.0/setup.py +75 -0
@@ -0,0 +1,70 @@
1
+ # This workflow will upload a Python Package to PyPI when a release is created
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3
+
4
+ # This workflow uses actions that are not certified by GitHub.
5
+ # They are provided by a third-party and are governed by
6
+ # separate terms of service, privacy policy, and support
7
+ # documentation.
8
+
9
+ name: Upload Python Package
10
+
11
+ on:
12
+ release:
13
+ types: [published]
14
+
15
+ permissions:
16
+ contents: read
17
+
18
+ jobs:
19
+ release-build:
20
+ runs-on: ubuntu-latest
21
+
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+
25
+ - uses: actions/setup-python@v5
26
+ with:
27
+ python-version: "3.x"
28
+
29
+ - name: Build release distributions
30
+ run: |
31
+ # NOTE: put your own distribution build steps here.
32
+ python -m pip install build
33
+ python -m build
34
+
35
+ - name: Upload distributions
36
+ uses: actions/upload-artifact@v4
37
+ with:
38
+ name: release-dists
39
+ path: dist/
40
+
41
+ pypi-publish:
42
+ runs-on: ubuntu-latest
43
+ needs:
44
+ - release-build
45
+ permissions:
46
+ # IMPORTANT: this permission is mandatory for trusted publishing
47
+ id-token: write
48
+
49
+ # Dedicated environments with protections for publishing are strongly recommended.
50
+ # For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
51
+ environment:
52
+ name: pypi
53
+ # OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
54
+ # url: https://pypi.org/p/YOURPROJECT
55
+ #
56
+ # ALTERNATIVE: if your GitHub Release name is the PyPI project version string
57
+ # ALTERNATIVE: exactly, uncomment the following line instead:
58
+ # url: https://pypi.org/project/YOURPROJECT/${{ github.event.release.name }}
59
+
60
+ steps:
61
+ - name: Retrieve release distributions
62
+ uses: actions/download-artifact@v4
63
+ with:
64
+ name: release-dists
65
+ path: dist/
66
+
67
+ - name: Publish release distributions to PyPI
68
+ uses: pypa/gh-action-pypi-publish@release/v1
69
+ with:
70
+ packages-dir: dist/
@@ -0,0 +1,59 @@
1
+ dist
2
+ __pycache__
3
+ /.vs/
4
+ .vs
5
+ .qwen
6
+ .venv
7
+ antidebug_temp
8
+ /.vs/slnx.sqlite
9
+ /.vs/PyLockWare.slnx/v18/Browse.VC.db-wal
10
+ native_src\PyLockWareRuntime\.vs
11
+ .venv
12
+ nuitka_dist
13
+ /crackme/
14
+ tools
15
+ .kiro
16
+
17
+ # PyLockWare
18
+ dist/
19
+ *.pyc
20
+ __pycache__/
21
+
22
+ # Python
23
+ *.py[cod]
24
+ *$py.class
25
+ *.so
26
+ .Python
27
+ build/
28
+ develop-eggs/
29
+ dist/
30
+ downloads/
31
+ eggs/
32
+ .eggs/
33
+ lib/
34
+ lib64/
35
+ parts/
36
+ sdist/
37
+ var/
38
+ wheels/
39
+ *.egg-info/
40
+ .installed.cfg
41
+ *.egg
42
+
43
+ # Virtual Environment
44
+ venv/
45
+ env/
46
+ ENV/
47
+ .venv
48
+
49
+ # IDEs
50
+ .vscode/
51
+ .idea/
52
+ *.swp
53
+ *.swo
54
+ *~
55
+
56
+ # OS
57
+ .DS_Store
58
+ Thumbs.db
59
+
@@ -0,0 +1,25 @@
1
+ include README.md
2
+ include LICENSE
3
+ include requirements.txt
4
+
5
+ recursive-include pylockware/anti_debug *.dll *.py
6
+ recursive-include pylockware *.py
7
+
8
+ exclude cli.py
9
+ exclude gui.py
10
+ exclude pylockware_sdk.py
11
+
12
+ recursive-exclude tests *
13
+ recursive-exclude examples *
14
+ recursive-exclude tools *
15
+ recursive-exclude crackme *
16
+ recursive-exclude native_src *
17
+ recursive-exclude dist *
18
+ recursive-exclude nuitka_dist *
19
+ recursive-exclude .git *
20
+ recursive-exclude .idea *
21
+ recursive-exclude .venv *
22
+ recursive-exclude .vs *
23
+ recursive-exclude __pycache__ *
24
+ recursive-exclude *.pyc *
25
+ recursive-exclude *.pyo *