Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downtime & Obfuscation. #1

Open
oOHiyoriOo opened this issue Jul 28, 2022 · 7 comments
Open

Downtime & Obfuscation. #1

oOHiyoriOo opened this issue Jul 28, 2022 · 7 comments

Comments

@oOHiyoriOo
Copy link

Hey mate, just wanted to let you know the website this script tries to reach seems to be down.

@AeX03
Copy link
Owner

AeX03 commented Jul 28, 2022

Hi friend, yes I know that the website that calculates them is down unfortunately...

@oOHiyoriOo
Copy link
Author

oOHiyoriOo commented Jul 29, 2022

Also, in addition to just obfuscating the code, which is easily reverted in this case.
Readable code

I would recommend you, maybe making a loader, which can just load a "compiled" version from GitHub for the particular python version.
Sure it's a bit more work, to do that for all your supported version, but you could also simply just support one or two versions... As far I know, the downside is, python byte code is only for one specific version.

You can easily "compile" the script to be harder to revert by using:
python -m py_compile file.py
which generates a folder called "pycache" which holds your pyc ("compiled") version.
Readable Pyc

if you now combine this two methods (obfuscation + pyc) you can get a pretty unreadable and not to easy reversible file :D
For obfuscation, I used This online tool
Pretty hard to reverse file

Like I said earlier in this, the only backside I see here is that it’s only runnable in the version compiled.
For example, I used Python 3.9.5 to compile, so it should only run in this specific version, but using Anaconda you could easily automate the compiling process for multiple versions!

Hope I could help you a bit :D.

@oOHiyoriOo oOHiyoriOo changed the title Downtime. Downtime & Obfuscation. Jul 29, 2022
@AeX03
Copy link
Owner

AeX03 commented Jul 29, 2022

whoaa great friend is more complete the tutorial xd, thank u mate !

@oOHiyoriOo
Copy link
Author

oOHiyoriOo commented Aug 22, 2022

Just wanted to let you know, i finally made a little script for it XD.
you can freely use and checkout:
https://github.com/oOHiyoriOo/PythonMultiCompile

@AeX03
Copy link
Owner

AeX03 commented Aug 22, 2022

whoa that's great sipas friend xd thank you!

@AeX03
Copy link
Owner

AeX03 commented Aug 22, 2022

say if you're interested I have a project not yet finished and I would need your help, I leave you my discord : https://discord.gg/xpaxKBEx9t

@AeX03
Copy link
Owner

AeX03 commented Aug 22, 2022

@oOHiyoriOo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants