Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
The stupid question is the question not asked
 
PerlMonks  

Hide perl code

by balakrishnan (Monk)
on May 22, 2010 at 20:47 UTC ( #841206=perlquestion: print w/ replies, xml ) Need Help??
balakrishnan has asked for the wisdom of the Perl Monks concerning the following question:

Hi Wise,
Please suggest me the better ways to hide the perl code and produce the executable file(when it doesnt intend to see by others).
Thanks, Bala.

Comment on Hide perl code
Re: Hide perl code
by lamprecht (Friar) on May 22, 2010 at 21:25 UTC
    Hi,

    see perldoc -qhide ,

    Cheers, Christoph
Re: Hide perl code
by Old_Gray_Bear (Bishop) on May 22, 2010 at 21:35 UTC
    Acme::Bleach

    ----
    I Go Back to Sleep, Now.

    OGB

Re: Hide perl code
by BrowserUk (Pope) on May 22, 2010 at 21:47 UTC

    Host the code as a service on your own machine, and only distribute code that gets the required parameters and data from the user.and connects to your machine to have it do the work Ship the answers back to the user. Make sure the hidden code uses taint and avoids string eval.

Re: Hide perl code
by ww (Bishop) on May 22, 2010 at 22:05 UTC

    Write it inside <pre>...</pre> tags and make the sentence really long so whatever you're trying to hide falls off the right edge of the internet. Nobody will ever find it there (or, see Markup in the Monastery).

    Alternately:
    • In the cookie jar.
    • In a magnetic keyholder in the mailbox.
    • Out on the back 40, under the 4th pole from the west end.

    You can put it there (for any selected value of "there") between executions...

Re: Hide perl code
by Khen1950fx (Canon) on May 22, 2010 at 22:59 UTC
Re: Hide perl code
by eyepopslikeamosquito (Canon) on May 23, 2010 at 06:40 UTC
Re: Hide perl code
by smishra123 (Initiate) on May 24, 2010 at 00:29 UTC
    If it is really important, compile critical pieces into a C dll and call from Perl. A C dll can be reversed also, but it takes more time. If you need still more anti reversing built in, there are tools that can make reversing object code much harder. You can use those in conjunction with your C dll. If it is really, really important for the reverser, they will reverse anything you do. You are just increasing the time and expense for them to reverse what you do. At some point you have to consider whether the effort you put in anti reversing is more gainfully spent in adding features to your program Reality: Legal solutions are out of reach of most small businesses in USA. No one gives a rat's ass about the legal notice you put on your program in large parts of the world. Best wishes Sanjay Mishra

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://841206]
Approved by graff
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2014-04-17 08:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (441 votes), past polls