Advertisement
tehsyntx

Fiesta exploit kit landingpage decoder

Jul 19th, 2014
4,867
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #####
  2. Fiesta exploit kit landingpage decoder
  3. @tehsyntx
  4. thembits.blogspot.se
  5.  
  6. Replace the vars at the bottom with values found in the landingpage.
  7. #####
  8.  
  9. function decode(obfuString, intStep, key) {
  10.     var v, i = 0, ykh = 0, buf = '', clearText = '', hexChar, charCode, cy = 0;
  11.     while (i < obfuString.length) {
  12.         ykh = ykh + intStep;
  13.         v = key.indexOf(obfuString.charAt(i));
  14.         v = (v + ykh) % key.length;
  15.         buf += key.charAt(v);
  16.         i++
  17.     }
  18.     for (; cy < buf.length; cy += 2) {
  19.         hexChar = buf.substr(cy, 2);
  20.         charCode = parseInt(hexChar, 16);
  21.         clearText += String.fromCharCode(charCode)
  22.     }
  23.     return clearText
  24. }
  25.  
  26. var obfuscatedString = '79wep42c6f8rnfai';
  27. var intStep = 15;
  28. var key = 'ia1dpY3w+e75K20fj_bnr98k46c'; //Key found in landingpage
  29.  
  30. alert(decode(obfuscatedString, intStep, key));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement