[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: [OT] Re: Precompiling Ruby programs

John Wells

4/27/2005 12:36:00 AM

Ara.T.Howard@noaa.gov said:
>> I appreciate any insight you can provide.
>
> this doesn't make me feel too comfortable
>
> http://www.google.com/search?hl=en&q=decompile+java&btnG=Goo...
>
> in particular
>
> "It turns out, due to a quirk in the design of the Java Runtime system
> and
> the relationship with its compilers, that Java code can be almost
> entirely
> reconstructed, including the actual names of variables used by the
> original
> programmer! The only things missing are the comments. This is an
> amazing
> oversight in the architecture of Java. Why is it this way? I don't
> know. I'd
> be interested in hearing more."

Yes...you're right. Bytecode is essentially reversible. However, note I
mentioned obfuscated bytecode. Obfuscation can make reverse engineering
impractical, if not impossible. I'm looking for the equivalent in Ruby.

Thanks,
John





5 Answers

Lothar Scholz

4/27/2005 1:20:00 AM

0

Hello John,


JW> Yes...you're right. Bytecode is essentially reversible. However, note I
JW> mentioned obfuscated bytecode. Obfuscation can make reverse engineering
JW> impractical, if not impossible. I'm looking for the equivalent in Ruby.

Don't use the exe converters that other persons mentioned. In a previous discussion
about this i posted a generic 5 lines crack patch for all of them. Use google to
search the comp.lang.ruby group for this patch and the discussion.

You must extend the ruby interpreter and change the internals of some
function names to do it. This will work, then use one of the
commerical copy protection systems like armadillo to protect the
source code from decryption.


--
Best regards, emailto: scholz at scriptolutions dot com
Lothar Scholz http://www.ru...
CTO Scriptolutions Ruby, PHP, Python IDE 's




John Wells

4/27/2005 1:08:00 PM

0

Lothar Scholz said:
> Don't use the exe converters that other persons mentioned. In a previous
> discussion
> about this i posted a generic 5 lines crack patch for all of them. Use
> google to
> search the comp.lang.ruby group for this patch and the discussion.
>
> You must extend the ruby interpreter and change the internals of some
> function names to do it. This will work, then use one of the
> commerical copy protection systems like armadillo to protect the
> source code from decryption.

So essentially, you're saying yes, it is possible, but man...not easy ;).

Wonder if this is a potential commercial product? I know my company would
be willing to pay for a supported option.



Lyndon Samson

4/27/2005 1:30:00 PM

0

On 4/27/05, John Wells <lists@sourceillustrated.com> wrote:
> Lothar Scholz said:
> > Don't use the exe converters that other persons mentioned. In a previous
> > discussion
> > about this i posted a generic 5 lines crack patch for all of them. Use
> > google to
> > search the comp.lang.ruby group for this patch and the discussion.
> >
> > You must extend the ruby interpreter and change the internals of some
> > function names to do it. This will work, then use one of the
> > commerical copy protection systems like armadillo to protect the
> > source code from decryption.
>
> So essentially, you're saying yes, it is possible, but man...not easy ;).
>
> Wonder if this is a potential commercial product? I know my company would
> be willing to pay for a supported option.
>
There is a ruby to c converter, native binaries are much harder to
decompile. It probably doesn't do 100% but you may be able to
obfuscate a significant portion of your code.

>


--
Into RFID? www.rfidnewsupdate.com Simple, fast, news.



Sy

4/27/2005 4:02:00 PM

0

Use a ruby to windows executable (i.e. tar2rubyscript[1] and
rubyscript2exe[2]) and then look into using some sort of executable
protection software on it (no recommendations, sorry). That may be a
fairly straightforward route to go for redistribiution.


[1] http://www.erikveen.dds.nl/tar2rubyscript/...
[2] http://www.erikveen.dds.nl/rubyscript2exe/...



Rachel Bolan

6/7/2012 4:22:00 PM

0



DooDoo wrote in message news:mcj1t71ne4h40ilmpqb3bb99coqfkrg25m@4ax.com...

On Thu, 07 Jun 2012 10:12:57 -0500, RD Sandman
<rdsandman[spamremove]@comcast.net> wrote:

>> Those genetics come from the mother's side.
>>
>
>Already noted and already stated that it was a mispoken.

My bad. I try SO hard to keep up.

<^^^^

No problem, DooDoo.
EVERYBODY knows your problems.

Ever figure out where France is?