Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
User319183 authored Dec 16, 2023
1 parent 8a9a6bf commit cb99d4a
Show file tree
Hide file tree
Showing 10 changed files with 1,426 additions and 460 deletions.
42 changes: 21 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
MIT License

Copyright (c) 2023 Sathvik

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MIT License
Copyright (c) 2023 Sathvik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ Pyfuscator is an advanced Python code obfuscation tool, meticulously designed to
## Core Features

- **Sophisticated Variable and Function Name Obfuscation**: Pyfuscator intelligently replaces all variable and function names with randomized strings, significantly increasing the complexity of the original code.
- **Advanced String Obfuscation**: Pyfuscator encrypts all string literals, providing an additional layer of obfuscation.
- **Advanced String Obfuscation with Custom Cryptography**: Pyfuscator encrypts all string literals using a custom encryption algorithm, providing an additional layer of obfuscation.
- **Intricate Control Flow Obfuscation**: Pyfuscator intricately wraps `If` and `For` statements in additional control flow structures, further obfuscating the code logic.
- **Strategic Dead Code Injection**: Pyfuscator strategically injects dead code into function definitions, creating diversions for anyone attempting to decipher the code.
- **Advanced Anti-Debugging**: Pyfuscator now includes an anti-debugging feature, which makes it harder for others to reverse engineer your code by using a debugger. This feature uses various techniques to detect the presence of a debugger and alters the program's behavior to thwart debugging attempts. This feature is implemented in the [`generate_anti_debugger_code`](obfuscator.py) function in the [`obfuscator.py`](obfuscator.py) file.
- Note: While the anti-debugger feature provides an additional layer of protection, it's important to note that it's not foolproof. A determined attacker with sufficient knowledge and resources may still be able to bypass these protections. One common method of bypassing anti-debugging measures is through the use of Python's built-in debugger, `pdb`. `pdb` can be used to step through the code, inspect variables, and evaluate arbitrary Python expressions. This can potentially allow an attacker to understand the obfuscated code and bypass the anti-debugger protections. To mitigate this risk, Pyfuscator will include checks to detect if `pdb` is in `sys.modules`, which would indicate that the debugger is being used. However, this check can be bypassed if an attacker removes `pdb` from `sys.modules` before running the obfuscated code.

- **Opaque Predicates Obfuscation**: Pyfuscator now includes a feature for obfuscating code with opaque predicates. This feature adds an additional layer of complexity to the obfuscated code, making it harder for others to understand the original logic.
- **Encrypted Strings Obfuscation**: Pyfuscator now includes a feature for obfuscating code with encrypted strings. This feature adds an additional layer of complexity to the obfuscated code, making it harder for others to understand the original logic.
- **Opaque Predicates Obfuscation**: Pyfuscator includes a feature for obfuscating code with opaque predicates. This feature adds an additional layer of complexity to the obfuscated code, making it harder for others to understand the original logic.
- **Encrypted Strings Obfuscation with Custom Cryptography**: Pyfuscator includes a feature for obfuscating code with encrypted strings using a custom encryption algorithm. This feature adds an additional layer of complexity to the obfuscated code, making it harder for others to understand the original logic.
- **Anti-Memory Dumping**: Pyfuscator now includes an anti-memory dumping feature, which prevents other programs from creating a memory dump of your Python process. This feature is implemented in the `main` function in the [`obfuscator.py`](obfuscator.py) file.
- **Support for Latest Python Versions**: Pyfuscator has been updated to support the latest Python versions. For instance, the `ast.Str` has been replaced with `ast.Constant` to be compatible with Python 3.14 and later.
- **Enhanced Logging**: Pyfuscator now includes enhanced logging capabilities, providing more detailed and useful information about the obfuscation process. This feature is implemented in the [`modules.console`](modules/console.py) file.
- **Anti-Virtual Machine (VM) Techniques**: Pyfuscator now includes anti-VM techniques, which detect if the code is being run inside a virtual machine and alters the program's behavior to thwart reverse engineering attempts. This feature is implemented in the `main` function in the [`obfuscator.py`](obfuscator.py) file.

## Installation

Expand Down Expand Up @@ -69,4 +70,4 @@ Pyfuscator is licensed under the MIT License. For more details, please refer to

## Support and Contact

For any inquiries, support requests, or feedback, please open an issue on the Pyfuscator GitHub repository. Our team is always ready to assist.
For any inquiries, support requests, or feedback, please open an issue on the Pyfuscator GitHub repository. Our team is always ready to assist.
Loading

0 comments on commit cb99d4a

Please sign in to comment.