WebSpiderr
ISP
Hi!
I'm looking for a way to protect my perl scripts with a password, before executing, and since I know those perlscripts can be read, I'd like to do this twostep:
1) Have a small perlscript which just prompts for the password and then
2) Using this password, decode a variable, and run the code that comes from it.
For instance, I have this small program here:
print "hello, world!\n";
Which encoded would be (instance):
jdkjahsduuiiqqerkhfSDFSDAFjfioasiausdf
so, my program would have
$actual_code="jdkjahsduuiiqqerkhfSDFSDAFjfioasiausdf";
.. some code to ask for the password ..
.. some code to decrypt the $actual_code and run it ..
.. end of program, and the code stored in $actual_code is run ..
Can anyone give me a hint or example on how to do this ?
I'm looking for a way to protect my perl scripts with a password, before executing, and since I know those perlscripts can be read, I'd like to do this twostep:
1) Have a small perlscript which just prompts for the password and then
2) Using this password, decode a variable, and run the code that comes from it.
For instance, I have this small program here:
print "hello, world!\n";
Which encoded would be (instance):
jdkjahsduuiiqqerkhfSDFSDAFjfioasiausdf
so, my program would have
$actual_code="jdkjahsduuiiqqerkhfSDFSDAFjfioasiausdf";
.. some code to ask for the password ..
.. some code to decrypt the $actual_code and run it ..
.. end of program, and the code stored in $actual_code is run ..
Can anyone give me a hint or example on how to do this ?