Scrambling Scripts
-
made some searches but did not find what i was looking for..
i want to scramble a script but rather than the .rbs extension - i'd like to have a file just like Didier's - (scripts start with with EVAL_)
is it something i can do, or is it too arcane?
-
It's not arcane, but it's so easy to reverse that it is practically pointless.
And although this can be done using Ruby, here is a link to a Windows .exe that will create one.
-
Thanks Jim, easy and works just fine!
-
If you're interested in doing it using pure Ruby... see Array.pack and String.unpack methods.
Here's the core functionality:
[IO.read("filename.rb")].pack("m")
-
thanks Jim, will look into it (as soon as my brain can do it..)
-
The d/Code plugin also provides this feature.
azuby
Advertisement