News for hackers. Stuff that matters.
Re:JavaScript Obfuscation Techniques by Example by tjkoury on Sunday July 17, 2022 @09:50PM (#32133628)
A favorite trick of mine is to replace regular length variable names with absolutely massive ones that all share the same first 1024 characters, plays hell with debugger UIs and makes differentiation all but impossible without writing a custom lexer. Add into that a bit of Z̶͚͎̙̭͈͚͚̘͗̑̉̈́͌̆̀̚͝ă̶̡͉̠͍̻͔̯͔͖̪̤̤̫̓̽̏̉̎͌͒̆͘̕ḻ̴̡̡̝̫̠͇̻͎̥̲̜͆͌͑̍ͅg̸͈͒̏̀͂̈͊̂̾̑̈́̑͝o̴̡̙͍͉͓̘̮͗̏̒̂̃̏̓́̕ͅ and you’ve got a stew going, baby!
Re:JavaScript Obfuscation Techniques by Example by efortis on Sunday July 17, 2022 @10:43PM (#32133977)
That reminded me of a base4 encoding using these characters: '0' 'O' '1' 'I'

The code looked like:

    var O11IOOO1I011 = 1<<1, 
        II00001OOO1O = 1<<2;
Re:JavaScript Obfuscation Techniques by Example by darknavi on Sunday July 17, 2022 @11:08PM (#32134163)
No lowercase 'l' in there?
Re:JavaScript Obfuscation Techniques by Example by efortis on Sunday July 17, 2022 @11:24PM (#32134273)
Probably.

---

This one binary encoded with tabs and spaces:

https://www.youtube.com/watch?v=cQY7klANahY