The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 07, 2010, 01:03:01 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Perl code encryption  (Read 330 times)
dirk
Global Moderator
Expert
*****
Offline Offline

Posts: 416


View Profile
« on: July 08, 2010, 07:54:54 AM »

If you buy a Perl program you will normally get readable source code.

Ok, I know it's not necessary to encrypt Perl scripts because the code is never readable ;-)
Perl is a write-only language.

Anyway, Perlguardian (will give them no link juice here...) claims to encrypt Perl code:

"Easily encrypt your Perl source code and don't let thief stole your valuable code."

They process your scripts and you will get a new version which looks like:

Code:
#!/usr/local/bin/perl
...
my $var = "IyEvdXNyL2xvY2FsL2Jpbi9wZXJsCgkjIF...";
...
eval $e;

Sure, this isn't readable. But it's really pretty easy to get the actual source code.

Simply print it before the last eval command:

Code:
...
print $e; exit;
eval $e;

"Perlguardian celebrating its 7 successful years."

Yes, indeed. They can celebrate obfuscating that they are not protecting your scripts.
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 8758



View Profile
« Reply #1 on: July 08, 2010, 08:20:18 AM »

Ya gotta wonder who they think they're obsfucating from. As if a perl coder, using the munger up code, wouldn't be strong enough to see that.

Nice one Dirk. Silly Stuff.
Logged

It's the things you learn after you know it all that really count.
-John Wooden
Bompa
Administrator
Expert
*****
Offline Offline

Posts: 394


View Profile WWW
« Reply #2 on: July 08, 2010, 08:40:30 PM »

7 years ago things were different, but this guy is still renewing his domain
and even updating it.

Expiration Date: 2011-06-30
Creation Date: 2003-06-30
Last Update Date: 2010-04-08


But, if you hurry! ... and do not delay...

"For Limited Time Only we have dropped our price to $499"

That's "a steal" at that price.  LOL

Bompa
Logged

Do You Know?
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!