so im pretty new to programming in general, but these two languages i am even newer to.
I'm trying to find out if there is a way to compile a perl/python program so that it is encrypted, and the source could not be read.
or are these languages just scripts?
Thanks.
| |
|
Welcome to KnowledgeSutra - Dear Guest | |
Compiling Perl / Python?
Started by freedomjazzdance, Aug 03 2005 12:03 PM
4 replies to this topic
#2
Posted 18 August 2005 - 10:40 AM
For Perl :
You can find it at: http://www.scriptsfi...detailed/4.html
Also you can read more about perl source encryption here: http://www.webmaster...orum13/3109.htm
For Python
No clue
Cheers!
Quote
Protect your valuable Perl source code from the prying eyes of the casual user! pENC's innovative encryption system allows certain types+ of perl script to be not only encrypted once. but multiple times!
Also you can read more about perl source encryption here: http://www.webmaster...orum13/3109.htm
For Python
No clue
Cheers!
#3
Posted 19 December 2007 - 10:42 PM
Perl programs can't be hidden that well to my knowledge. If you need really protected code, use C or C++ which must be compiled. Perl is a good beginner's lanuage, and is great because of CGI support. I do not know of a way to encrypt perl though. One way could be to make the directories of a program be executable only.
#4
Posted 21 December 2007 - 08:05 PM
Python can produce *.pyc file for every *.py file. It is a bytecode so it's pretty unreadable althou it's done to load faster.
There are also *.pyo files, but they can cause trouble.
Other thing is to produce *.exe executable from *.py. It can be done for Windows but not for Linux AFAIK.
Hope that helps
There are also *.pyo files, but they can cause trouble.
Other thing is to produce *.exe executable from *.py. It can be done for Windows but not for Linux AFAIK.
Hope that helps
#5
Posted 22 November 2010 - 11:11 PM
hello freedomjazzdance I don't know if you have already figured out how to compile them on your own but i'll try and help anyways
for python download py2exe http://py2exe.org/ it is completly free but it includes a mini version of the python environment making a script a little larger then it should then to compile it just make a python file like:
import py2exe
setup(console=['program.py'])
then for perl it costs money
but it has a free 21 day trial
enough time to compile any projects you want to release
download PDK(perl dev kit) from here: http://www.activesta...om/perl-dev-kit program explains itself
good luck also can compile for any os just not windows making your appication multiplatform 
~calebFTW
import py2exe
setup(console=['program.py'])
then for perl it costs money
~calebFTW
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users














