Wow, that's appalling. Amazon had a file where the JS keywords themselves were carved into pieces like ['getE','leme','split','ntsBy']. The substrings of the keywords did not necessarily occur together. And then the code itself would use those strings as a call. (array[43]+array[97])(blah). I don't like to think about it..



On Mon, 9 Sep 2019, Karl Dahlke wrote:

You thought minimized javascript looked like dog vomit - well imagine this.
Minimize the code, then reexpand it using long awkward and pointless variable 
names.
This is the section I'm trying to debug.

               for (var _0x9247e4 = 0, _0x3893d3 = _0x525f46['length']; _0x9247e4 
< _0x3893d3; _0x9247e4++) {trace@(a45)
                   var _0x39f51f = _0x525f46[_0x9247e4];
                   _0x42817f += '; ' + _0x39f51f;
                   trace@(a46)var _0x3ec78e = _0x525f46[_0x39f51f];
                   _0x525f46['push'](_0x3ec78e);
                   _0x3893d3 = _0x525f46['length'];
                   if (_0x3ec78e !== !![]) {trace@(a47)
                       _0x42817f += '=' + _0x3ec78e;
                   }
               }

Karl Dahlke


Reply via email to