Decode this strange Javascript

后端 未结 7 623
轻奢々
轻奢々 2020-12-10 18:31

I came across this code in a .js file. What is this code ??

I have downloaded that file onto my localhost webserver.Keeping this code in the .js file redirects me t

7条回答
  •  借酒劲吻你
    2020-12-10 18:47

    Try this...

    
    
    
    
    
    
    
    
    

    The answer, as already pointed out, is...

    []['constructor']['constructor'](self['unescape'](if(~location.protocol.indexOf('http:')&&~location.host.indexOf('template-help.com')){}else(location.href='http://www.google.com')))()
    

提交回复
热议问题