Skip to content

2. Load Decipher Function Name

Linus Klöckner edited this page Jan 16, 2019 · 8 revisions

The JavaScript file is obfuscated; we need to find the correct decipher function name.

Needs: Decipher JavaScript file
Gives: Two char long function name

RegEx:

"signature",(\w\w)

RegEx Match (Group 1):
Two char long function name


Attention! Recently I got:

"signature", vo

Workaround:

(\w\w)=function\(\w+?\)\{\w=\w\.split\(""\).+?return\s\w\.join\(""\)\}

Searches for a function with split as first and join as last subfunction


Next: Load Decipher Function Definition