Advertisement
8u

fake virus javascript

8u
Aug 19th, 2021
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. <!-- Fake virus by 8u -->
  3. <!-- load it in a new web page to get it -->
  4. <!-- by 8u -->
  5. window.onerror=null;
  6. var down;
  7.  
  8. function Minutes(data) {
  9.         for(var i=0;i<data.length;i++)
  10.                 if(data.substring(i,i+1)==":")
  11.                 break;  
  12.                 return(data.substring(0,i));
  13. }
  14.  
  15. function Seconds(data) {        
  16.         for(var i=0;i<data.length;i++)
  17.                 if(data.substring(i,i+1)==":")
  18.                 break;  
  19.                 return(data.substring(i+1,data.length));
  20. }
  21.  
  22. function faketake(percent1){
  23.  if(percent1 < 100){
  24.    percent1++;
  25.  
  26.    window.status="Upload of virus in progress: "+percent1+"% complete";
  27.    fid1=window.setTimeout("faketake("+percent1+")",200)
  28.  
  29.  
  30.  
  31.  } else {
  32. //   alert("uploading...complete now wrecking u files");
  33.    fid1=window.setTimeout("fakeformat(0)",200);
  34.  
  35.  
  36.  
  37.  }
  38. }
  39.  
  40. function fakeformat(percent){
  41.   if(percent < 100){
  42.     percent++;
  43.     window.status=" infection - format of drive C:\\ in progress: "+percent+"% complete";
  44.     fid=window.setTimeout("fakeformat("+percent+")",360); // 900
  45.   } else {
  46.     window.status="Virus DeActivated... Closing Browser."; window.close()
  47.     }
  48. }
  49.  
  50. window.setTimeout('faketake(-1)',200);
  51.  
  52. // end hiding -->
  53. </script>
  54.  
  55. <SCRIPT LANGUAGE="JavaScript">
  56.  
  57. <!-- ;
  58.  
  59. alert("wsup");
  60. alert("look at the left corner lol");
  61. alert("you see");
  62. alert("its a VIRUS");
  63. alert("and your computer gonna be bombed when it done");
  64. alert("haha");
  65. alert("this virus will crash yur browser once it done eeeeeee");
  66. alert("dont touch anything or u get the virus");
  67. alert("You Got Trolled");
  68. alert("It did nothing to your computer");
  69. alert("So no problem");
  70. alert("script by 8n");
  71. alert("xd");
  72.  
  73. // end hide -->
  74.  
  75. </SCRIPT>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement