[VBScript] A very simple virus to crash any system

Following is a very simple VBScript that will crash your computer. Now obviously crash does not mean that it would blast or something. It simply means that it would open a lot and lot of notepads such that your computer will stop responding or will respond like a snail for sometime due to overuse of CPU and RAM resources. The obvious solution is restarting your system.

  • Copy the following code in notepad:
  • Set Ws = WScript.CreateObject("WScript.Shell")
    do
    Ws.Run "notepad.exe"
    loop
    
  • Save the file as "infinitenotepads.vbs" (with quotes i.e. a file with any name and extension .vbs)
  • Open this file by double clicking and see the 'magic'.