Published 18 years 4 months ago • Last updated March 22, 2025 • ⏱️ 2 min read
I've been working on a small project with the eventual goal of producing random morphing javascript. It's still early stages at the moment but I'd thought I'd release it now because then I might get some motivation to improve it. I plan to add this functionality into Hackvertor as well as Spambam in future.
At the moment the script has multiple modes, the random mode selects parts of the source to encode and the other modes allow you to continually encode Javascript. The main problem with continually encoding is that the size of the source increases each time, I've had some great suggestions from Ronald, Mario and sirdarckcat and I plan to incorporate these into the next release.
This is early code so there are quite a few bugs, the random mode doesn't work all the time because some encoding methods return errors. Variables mode doesn't work correctly yet as there's a slight bug. I also need to improve the regular expressions for matching functions and then encoding with unicode. The unicode mode will also support double or maybe even triple encoding using multiple evals to return the desired string, this might take a bit of work to do but I think it will be worth it :)
Check it out here:- Code morpher