https://github.com/waived/python-obfuscator
Randomization of variable and function names + wrapped in BASE-64 and GZIP encoding
https://github.com/waived/python-obfuscator
confuser obfuscation obfuscator python-obfuscator python3 scrambler
Last synced: 2 months ago
JSON representation
Randomization of variable and function names + wrapped in BASE-64 and GZIP encoding
- Host: GitHub
- URL: https://github.com/waived/python-obfuscator
- Owner: waived
- Created: 2024-12-31T05:12:34.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-31T05:21:21.000Z (5 months ago)
- Last Synced: 2025-02-01T11:18:59.407Z (4 months ago)
- Topics: confuser, obfuscation, obfuscator, python-obfuscator, python3, scrambler
- Language: Python
- Homepage:
- Size: 112 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
/////////////////////////
/// PYTHON OBFUSCATOR ///
/////////////////////////Overview:
Simple python script that modifies another python script, changing:[+] Variable names
[+] Function namesOnce the randomization occurs, the code is then wrapped in BASE-64
and G-ZIP encoding and saved as an output file.Note: this script takes into consideration situational variable names, such
as "k=num" (used in the random.choice module). If said variables were to
be renamed, it may cause your script to crash. This obfuscator only randomizes
variable that have been referenced more than once. This is how it determines
what was user-declared versus a module-dependent static variable declaration.
Indentation is also left alone to ensure no errors raised upon execution.Credits: I don't take true credit for this script as 95% was done via ChatGPT.
As far as the BASE-64/G-ZIP wrapping, that code was mine and originally
came from my previous python obfuscation script which has now been made
private and is obsolete.