de-obfuscating javascript

Thursday, January 26, 2006 by Nate Murray.  

I think that trying to obfuscate javascript is ridiculous. So here's how to undo it: The first step is to get the code to be indented in a legible way. You can tidy up the code at Next you'll probably need to unhex some lines. Open up the page in vi and type this:

:s@%\(\x\x\)@\=nr2char('0x'. submatch(1))@g
Source: vim online

Who we are:
The Pasadena Ruby Brigade is a group of programmers who are interested in Ruby. We enjoy sharing our ideas and code with anyone who is interested in this wonderful programming language.

Who can join:
Anyone! Just head over to our mailing list and drop us an email.

What we do:
We recently started a project over at RubyForge. This project is a group of programs written and maintained by our members that we thought could be beneficial to the whole community.



Recent Posts