Hi, thanks for the code, below is what I have done:
var thehead = document.getElementsByTagName('script')[0];
var testString = thehead.innerHTML;
if(testString.search("eval") > 0)
{
confirm("This page may contain invalid obfuscated javascript, you will now be redirected to a malware...
Nothing with it the code but I lack knowledge on how to add interactivity e.g. an alert or prompt box to ask user if they want to go to the site. I have been playing around with both the alert box and the prompt am failing. If you know the best direction to go or good websites that would be...
Hi, i am very new to js and am trying to add interactivity to the script.e.g. give the user a choice if they want to go to the malware analyzer or not.
I am using the greasemonkey add - on.
I am using the search command to look for text which obfuscated. the eval is used to hide code.
//...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.