• 📢 Notice: Our community has moved to Zelo.cx! Visit us at Zelo.cx for the latest updates and discussions.

How to protect python sources (obfuscate + compile)

IgniteHost

Contributor
Contributor
IgniteHost Rep
0
0
0
Rep
866
IgniteHost Vouches
0
0
0
Vouches
0
Posts
1,050
Likes
707
Bits
2 YEARS
2 YEARS OF SERVICE
What are the best ways ? best tools ? I have to protect the sources and compile the script too.
If anyone can let me know some links, i would appreciate it
[Image: ignitehost-pro-signature.gif]
 

puppycat

Elite member
Elite member
Rep
0
0
0
Rep
0
Vouches
0
0
0
Vouches
0
Posts
1
Likes
0
Bits
3 YEARS
3 YEARS OF SERVICE
You are better off just using a compiled language but I understand if you don't know any it sounds easier to just obfuscate your code. For the most part just like any program can be reversed, these things aren't guaranteed to protect your code but can help.

* https://pypi.org/project/pyminifier/
* https://pypi.org/project/pyarmor/
* https://medium.com/@xpl/protecting-pytho...d940bb188e (Using Cython)

There are probably other options but those are the ones I remember messing around with a couple years ago.
 

mohalw200006

Member
Rep
0
0
0
Rep
0
Vouches
0
0
0
Vouches
0
Posts
9
Likes
0
Bits
3 YEARS
3 YEARS OF SERVICE

IgniteHost

Contributor
Contributor
IgniteHost Rep
0
0
0
Rep
866
IgniteHost Vouches
0
0
0
Vouches
0
Posts
1,050
Likes
707
Bits
2 YEARS
2 YEARS OF SERVICE
This is a bump
[Image: ignitehost-pro-signature.gif]
 

48,736

38,247

238,888

Top