Hiding perl-cgi code


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Hiding perl-cgi code
# 1  
Old 03-19-2007
Hiding perl-cgi code

Hi all,

This is my first post in this forum. Searched the threads, couldn't get information about this.
I have developed a web-based tool using CGI. The code consists of cgi files (.cgi) and functions written as Perl Modules( .pm files). As it is the tool works perfect.
Now is there any way, I can hide this code? Something like making these scripts as executables?
I have tried the following:
> 'perlcc' utility: It takes a lot of memory in creating an executable file of each script. Moreover, they mention that it is 'VERY' experimental and is still under development.
> 'perlcc' also generates a 'bytecode' for the scripts. This bytecode would require only the perl interpretor and a ByteLoader module. But, this bytecode generator doesn't support for bytecodes of perl modules.

Is there any other way I can achieve the hiding of my code?

Rgds,
Sudhir.
# 2  
Old 03-20-2007
There are few methods, as far as I recall, try this one for example, or this one, here you can see the sample output.
# 3  
Old 03-20-2007
Thanks. That was of help. I need to purchase that one. But, would anyone be able to reverse the process, using the same obfuscator? No idea about this.

Also, is there any way to convert .pm files to .so files?
# 4  
Old 03-21-2007
I didn't see the way to revert the process, so it is good to have the original copies backed up. Also, there is an evaluation software available, so you might wanna try it before purchase.
# 5  
Old 03-21-2007
Okay. Would do that. Actually, I heard that we can reverse the process. If not, then that would be great for me. Would go in for the Obfuscator.
Thanks...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. OS X (Apple)

Perl CGI

I am trying to get my MacBook Pro with 10.8 Mt Lion set up to run Perl CGI scripts. Having a problem. I can start Apache Web Server with no problems. Why do I put the static and dynamic scripts? I which directory? I have looked at this article:... (3 Replies)
Discussion started by: djehresmann
3 Replies

2. Shell Programming and Scripting

CGI Perl : while loop in CGI perl

Hi Team, I am trying to connect to database(succeeded ) and print the records on the browser using while loop. But the elements of array are not displayed instead while loop is displayed directly. Instead of the below I can embed html statements in print but I am looking for the below style as I... (1 Reply)
Discussion started by: scriptscript
1 Replies

3. Shell Programming and Scripting

Perl CGI : unable to download the excel sheet from perl cgi page

Hi All, I have written an cgi perl script that displays an image(Excel image) and when clicked on that Image I need to download a excel sheet. I made sure that excel sheet exists in the folder with the given name but still I am not able to download the sheet. print "<center><table... (2 Replies)
Discussion started by: scriptscript
2 Replies

4. Shell Programming and Scripting

Perl cgi pages out of cgi-bin folder in WINDOWS

Hi team, I have a typical problem with cgi pages in apache webserver in WINDOWS I am able to execute(display) the pages that are saved in cgi-bin folder. But I am not able to execute the pages stored in htdocs or other folder other than cgi-bin folder. Could anyone please let me know how... (1 Reply)
Discussion started by: scriptscript
1 Replies

5. UNIX for Dummies Questions & Answers

Hiding shell script code

How can we share a script without actually sharing the code? I have 4 scripts in my system. The end user has to execute the first file and based on the inputs (I am reading 1, 2 , 3 as options) my shell script will execute respective script files. Now I dont want to share all the 4 script... (3 Replies)
Discussion started by: Dish
3 Replies

6. Shell Programming and Scripting

CGI in Perl

Hi, Am unfamiliar with using CGI modules in Perl. Though i checked in few sites about CGI , i dint get a clear idea. Can anyone please explain me the purpose of these statements, it ll be very helpful to me #!/usr/bin/perl use CGI qw/:standard/; use Storable; use Data::Dumper; my... (1 Reply)
Discussion started by: irudayaraj
1 Replies

7. Web Development

problem with exporting vairable from one perl cgi to another perl cgi script while redirecting.

Can anyone tell me how to export a variable from one perl CGI script to another perl cgi script when using a redirect. Upon running the login.pl the user is prompted to enter user name and password. Upon entering the correct credentials (admin/admin) the user is redirected to welcome page. My... (3 Replies)
Discussion started by: Arun_Linux
3 Replies

8. Shell Programming and Scripting

Hiding PHP code on the server

Hi all, Sometime back, had put up a Q regarding hiding perl code. A: There is a utility known as 'pp' which comes along with PAR. Downloaded from CPAN. These people have done wonderful work I must say. Cool executables from perl scripts. Have one more... (4 Replies)
Discussion started by: sudhir_onweb
4 Replies

9. Shell Programming and Scripting

Perl Code Hiding

Is there a way to hide the Perl script like we do in C and other languages? :rolleyes: (5 Replies)
Discussion started by: sskb
5 Replies

10. Shell Programming and Scripting

Perl CGI.pm

my box is FreeBSD4.3 and I use Perl 5.0005_03. Here is the CGI script. test.cgi ...... if ($query->action eq 'detail') { ...... print $query->hidden('action', 'modify'); ...... } I found that the result of test.cgi?action=detail is not what I expected. the script does not... (4 Replies)
Discussion started by: tonyt
4 Replies
Login or Register to Ask a Question