obfuscating code

2013-02-12 Thread Rajeev Prasad
freinds, what is the advice just for obfuscating code? platform is solaris. ty.

Re: obfuscating code

2013-02-12 Thread Lawrence Statton
On 02/12/2013 11:01 AM, Rajeev Prasad wrote: freinds, what is the advice just for obfuscating code? platform is solaris. ty. Don't. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: obfuscating code

2013-02-12 Thread Paul Anderson
Simple, step by step directions: 1. Obtain large gun. 2. Load with ammunition. 3. Fire squarely into foot. 4. Reload if necessary and repeat. Sent from my iPhone On 2013-02-12, at 12:01 PM, Rajeev Prasad wrote: > freinds, > > what is the advice just for obfuscating code? pl

Re: obfuscating code

2013-02-12 Thread Rajeev Prasad
sorry, idea is dropped. From: Rajeev Prasad To: perl list Sent: Tuesday, February 12, 2013 11:01 AM Subject: obfuscating code freinds, what is the advice just for obfuscating code? platform is solaris. ty.

Re: obfuscating code

2013-02-12 Thread Kevin Walzer
Perl is self-obfuscating. Sent from my iPhone On Feb 12, 2013, at 12:01 PM, Rajeev Prasad wrote: > freinds, > > what is the advice just for obfuscating code? platform is solaris. > > ty. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-ma

Re: obfuscating code

2013-02-12 Thread Mike Dunaway
If you have to ask, you're not good enough to obfuscate or maintain your obfuscated code. On 2/12/13 11:01 AM, Rajeev Prasad wrote: freinds, what is the advice just for obfuscating code? platform is solaris. ty. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For addit

Re: obfuscating code

2013-02-12 Thread Jim Gibson
On Feb 12, 2013, at 9:01 AM, Rajeev Prasad wrote: > freinds, > > what is the advice just for obfuscating code? platform is solaris. > > ty. I like the advice given in the Perl FAQ "How can I hide the source for my Perl program?", which says: "Delete it.&qu

Re: obfuscating code

2013-02-12 Thread Nitay Artenstein
It's Perl. The obfuscation is built in. On Feb 12, 2013 7:05 PM, "Rajeev Prasad" wrote: > freinds, > > what is the advice just for obfuscating code? platform is solaris. > > ty.

Re: obfuscating code

2013-02-12 Thread David Crouse
That goes in my list of "best answers ever" ;) On Tue, Feb 12, 2013 at 11:43 AM, Nitay Artenstein wrote: > It's Perl. The obfuscation is built in. > On Feb 12, 2013 7:05 PM, "Rajeev Prasad" wrote: > >> freinds, >> >> what is the advice just

Re: obfuscating code

2013-02-12 Thread John SJ Anderson
>> On Feb 12, 2013 7:05 PM, "Rajeev Prasad" wrote: >>> what is the advice just for obfuscating code? platform is solaris. I think you're getting the idea, at this point, that this is considered a bad idea, regardless of what platform you're targeting. You m

Re: obfuscating code

2013-02-12 Thread Michael Smith
de, in hex, and most don't bother. Two very different things. From: Rajeev Prasad To: perl list Sent: Tuesday, February 12, 2013 11:01 AM Subject: obfuscating code freinds, what is the advice just for obfuscating code? platform is solaris. ty.

Re: obfuscating code

2013-02-12 Thread timothy adigun
On 12 Feb 2013 18:56, "John SJ Anderson" wrote: > > >> On Feb 12, 2013 7:05 PM, "Rajeev Prasad" wrote: > >>> what is the advice just for obfuscating code? platform is solaris. > > I think you're getting the idea, at this point, that this

Re: obfuscating code

2013-02-12 Thread jbiskofski
, timothy adigun <2teezp...@gmail.com>wrote: > On 12 Feb 2013 18:56, "John SJ Anderson" wrote: > > > > >> On Feb 12, 2013 7:05 PM, "Rajeev Prasad" wrote: > > >>> what is the advice just for obfuscating code? platform is solaris. > &

RE: obfuscating code

2013-02-12 Thread Bob McConnell
3 1:30 PM > To: timothy adigun > Cc: John SJ Anderson; Perl Beginners > Subject: Re: obfuscating code > > I see everyone is eager to judge this as a terrible idea, its the exact > same response Ive gotten to this question on mailing lists on IRC. > > HOWEVER, I think this can

Re: obfuscating code

2013-02-12 Thread jbiskofski
I understand that obfuscating code is not a real detriment to a seriously motivated knowledgeable hacker. Yet I still think some security is preferable to no security at all. Also I wish this problem could be attacked somehow other than suggesting to switch to a different language. On Tue, Feb

Re: obfuscating code

2013-02-12 Thread Rob Coops
simply delete the code. All other solutions will simply frustrate those with good intentions and just make it more interesting for those with bad intentions. On Tue, Feb 12, 2013 at 7:39 PM, jbiskofski wrote: > I understand that obfuscating code is not a real detriment to a seriously > mo

Re: obfuscating code

2013-02-12 Thread John SJ Anderson
On Tue, Feb 12, 2013 at 10:39 AM, jbiskofski wrote: > I understand that obfuscating code is not a real detriment to a seriously > motivated knowledgeable hacker. Yet I still think some security is > preferable to no security at all. Also I wish this problem could be > attacked someho

Re: obfuscating code

2013-02-12 Thread Brandon McCaig
On Tue, Feb 12, 2013 at 08:15:18PM +0100, Rob Coops wrote: > The problem with obfuscation is that if does not work. Perhaps a good real world example is video game copyright infringement ("piracy"). Several publishers spend big money having the developers implement various "DRM" and obfuscation sc

Re: obfuscating code

2013-02-12 Thread Bill Stephenson
On Feb 12, 2013, at 11:01 AM, Rajeev Prasad wrote: > what is the advice just for obfuscating code? platform is solaris. I played with "Acme::Bleach" http://search.cpan.org/~dconway/Acme-Bleach-1.150/lib/Acme/Bleach.pm It takes a different approach to obfuscating code, but it

Re: obfuscating code

2013-02-12 Thread David Crouse
b 12, 2013 at 11:54 AM, John SJ Anderson wrote: >>> On Feb 12, 2013 7:05 PM, "Rajeev Prasad" wrote: >>>> what is the advice just for obfuscating code? platform is solaris. > > I think you're getting the idea, at this point, that this is > considered

Re: obfuscating code

2013-02-12 Thread Kevin Walzer
On 2/12/13 12:54 PM, John SJ Anderson wrote: Also, I'm a little disappointed in the "it's Perl, it's already obfuscated" answers. If you think the Perl you're writing is pre-obfuscated, you're doing it wrong. My Perl code is idiomatic, easy to read and understand, and as clear, if not more so, th

Re: obfuscating code

2013-02-12 Thread John SJ Anderson
On Feb 12, 2013, at 2:50 PM, David Crouse wrote: > Seriously, I took it as just funny... get off your soapbox. > I'm fairly sure that the comment was just in good fun. I'm happy you were amused. I wasn't, and I imagine anybody that's had to deal with the "Perl is a write-only language" percept

Re: obfuscating code

2013-02-12 Thread John SJ Anderson
On Feb 12, 2013, at 3:05 PM, Kevin Walzer wrote: > I'm an experienced developer in several other languages (Python, Tcl, > AppleScript, JavaScript, C/Objective C), so I'm quite familiar with > structuring a program--but as I work on learning Perl, I find it somewhat > obscure, if not downrigh

Re: obfuscating code

2013-02-12 Thread Jim Gibson
On Feb 12, 2013, at 3:18 PM, John SJ Anderson wrote: > > There's nothing idiomatic about that. I'd write that code as: > > # do whatever needed to get filename out of $_ into $filename here > open( my $INPUT , '<' , $filename ) or die( "Can't open $filename ($!)" ); > foreach my $line ( ) {

Re: obfuscating code

2013-02-12 Thread John SJ Anderson
On Feb 12, 2013, at 3:33 PM, Jim Gibson wrote: > > On Feb 12, 2013, at 3:18 PM, John SJ Anderson wrote: > >> >> There's nothing idiomatic about that. I'd write that code as: >> >> # do whatever needed to get filename out of $_ into $filename here >> open( my $INPUT , '<' , $filename ) or die

Re: obfuscating code

2013-02-12 Thread Shlomi Fish
Hi all, On Tue, 12 Feb 2013 09:01:27 -0800 (PST) Rajeev Prasad wrote: > freinds, > > what is the advice just for obfuscating code? platform is solaris. > > ty. thanks all for the great responses. Here is something I have written about it in the context of using Python bytec

Re: obfuscating code

2013-02-13 Thread Octavian Rasnita
From: "Shlomi Fish" Hi all, On Tue, 12 Feb 2013 09:01:27 -0800 (PST) Rajeev Prasad wrote: > freinds, > > what is the advice just for obfuscating code? platform is solaris. > > ty. thanks all for the great responses. Here is something I have written about it in th

Re: obfuscating code

2013-02-13 Thread Tiago Hori
09:01:27 -0800 (PST) > Rajeev Prasad wrote: > >> freinds, >> >> what is the advice just for obfuscating code? platform is solaris. >> >> ty. > > thanks all for the great responses. Here is something I have written about it > in the context of using Python

Re: obfuscating code

2013-02-13 Thread John W. Krahn
Kevin Walzer wrote: I'm an experienced developer in several other languages (Python, Tcl, AppleScript, JavaScript, C/Objective C), so I'm quite familiar with structuring a program--but as I work on learning Perl, I find it somewhat obscure, if not downright obfuscated. None of the other language

Re: obfuscating code

2013-02-13 Thread Octavian Rasnita
From: "Tiago Hori" > I despise the argument that some places are lawless and therefore you need > encryption and DRM. Those places you are probably thinking of > are the one more in need of free culture. Poor third world countries. Yep. The problem is that there are more people living in thos

Re: obfuscating code

2013-02-13 Thread Tiago Hori
> Yep. The problem is that there are more people living in those countries > than on rich countries. Not everyone lives in USA. :-) > And the culture cannot be changed by a few software developers that try to > earn for living. > Agreed. I think in there lies the biggest limitation. My point was,

Re: obfuscating code

2013-02-13 Thread Octavian Rasnita
From: "Bob McConnell" You cannot obfuscate the input to an interpreter. It has to be in a format that the interpreter will recognize, which necessarily means that people can also read it. If you really need to hide your source code, you have to switch to a compiled language with an actively o

Re: obfuscating code

2013-02-13 Thread Octavian Rasnita
From: "Rob Coops" Hi Bob, The problem with obfuscation is that if does not work. No mater how far you go (all database tables are called T with every column being C) all variables being single letter things like $a and @a and %b one that wants to will always be able to read it. The only thin

Re: obfuscating code

2013-02-13 Thread Octavian Rasnita
From: "John SJ Anderson" On Tue, Feb 12, 2013 at 10:39 AM, jbiskofski wrote: I understand that obfuscating code is not a real detriment to a seriously motivated knowledgeable hacker. Yet I still think some security is preferable to no security at all. Also I wish this proble

RE: obfuscating code

2013-02-13 Thread Bob McConnell
<http://lxer.com/module/newswire/ext_link.php?rid=180777> bm > -Original Message- > From: Octavian Rasnita [mailto:orasn...@gmail.com] > Sent: Wednesday, February 13, 2013 12:53 PM > To: Bob McConnell; Perl Beginners > Subject: Re: obfuscating code > > From: "Bob Mc

Re: obfuscating code

2013-02-13 Thread Rob Coops
[mailto:orasn...@gmail.com] > > Sent: Wednesday, February 13, 2013 12:53 PM > > To: Bob McConnell; Perl Beginners > > Subject: Re: obfuscating code > > > > From: "Bob McConnell" > > > > > You cannot obfuscate the input to an interpreter. It

Re: obfuscating code

2013-02-13 Thread David Crouse
On Tue, Feb 12, 2013 at 5:11 PM, John SJ Anderson wrote: > > On Feb 12, 2013, at 2:50 PM, David Crouse wrote: > >> Seriously, I took it as just funny... get off your soapbox. >> I'm fairly sure that the comment was just in good fun. > > I'm happy you were amused. I wasn't, and I imagine anybody t

Re: obfuscating code

2013-02-13 Thread Rob Dixon
On 12/02/2013 22:50, David Crouse wrote: Seriously, I took it as just funny... get off your soapbox. I'm fairly sure that the comment was just in good fun. As a systems admin, i've had to "decipher" my share of perl, and while it "can" be written great, it "can" also be written poorly. David,

Re: obfuscating code

2013-02-13 Thread Paul Johnson
On Tue, Feb 12, 2013 at 03:18:51PM -0800, John SJ Anderson wrote: > > On Feb 12, 2013, at 3:05 PM, Kevin Walzer wrote: > > > Does Perl have the equivalent of Python bytecode files, i.e. pyc, > > that are obfuscated? If not, the OP's options may be limited. > > No such critter in Perl. Whilst t

Re: obfuscating code

2013-02-13 Thread Andy Bach
On Wed, Feb 13, 2013 at 5:50 PM, Paul Johnson wrote: > > Does Perl have the equivalent of Python bytecode files, What about, say, Acme::Bleach http://search.cpan.org/~dconway/Acme-Bleach-1.150/lib/Acme/Bleach.pm "The first time you run a program under use Acme::Bleach, the module removes all t

Re: obfuscating code

2013-02-13 Thread Octavian Rasnita
From: "Bob McConnell" People have been selling both Open Source and Free Software for years. Both IBM and RedHat are doing very well at it. But they don't always require cash or monetary profit as their selling price. You might also want to consider this article about the open source economic

Re: obfuscating code

2013-02-14 Thread Brandon McCaig
On Thu, Feb 14, 2013 at 09:11:39AM +0200, Octavian Rasnita wrote: > I read it, but it is limited to only a kind of software > business. Those who create text editors like UltraEdit, TextPad > or others and sell their product are in another type of > software business because they offer a 1-time dea

Re: obfuscating code

2013-02-14 Thread Rajeev Prasad
From: Paul Johnson To: John SJ Anderson Cc: beginners@perl.org Sent: Wednesday, February 13, 2013 5:50 PM Subject: Re: obfuscating code On Tue, Feb 12, 2013 at 03:18:51PM -0800, John SJ Anderson wrote: > > On Feb 12, 2013, at 3:05 PM, Kevin Walzer wrote: > > > Doe