D
derpression
I created a VBScript that appears as a fake virus, and I would like to run it at startup. I've put the script into the startup folder.
When I boot up, the script shows. After pressing 'OK' to the message boxes I've created, it gives me an error.
It displays the following information.
Script: C:\Users\derpression\Desktop\Virus.vbs
Line: 5
Char: 1
Error: The system cannot find the file specified.
Code: 80070002
Source: (null)
Here is the script.
Here is the script you can copy.
msgbox("You've been infected! To disable your virus, please send $500 worth of Bitcoin to BLOCKED to receive your access key. Click 'OK' to continue.")
pass=inputbox("Please enter your 10-digit key to disable the virus. Send $500 worth of Bitcoin to BLOCKED, then send an email to BLOCKED with your email and proof. Your key will get sent to you.")
if pass="0x9dk2sm87" then msgbox("Correct key! Virus has been disabled. Let BLOCKED know to delete the virus.") else Set Shell=CreateObject("wscript.shell")
Shell.Run("Virus.vbs")
Let me know if I probably did something wrong in the script. I'm new to this VBScript thing, so I don't know what to do.
I've done multiple methods but they never worked.
Running VBScript at Startup: How to Enable Programs and Custom Scripts to Run at Boot
Disabling All Third-Party Apps: windows script host error message on startup (link was too long)
I also visited some old forum posts. Unfortunately, they didn't work as well. I doubted they even worked, they were from 2006 or 2013!
I'm using a virtual machine running Windows 7 currently to run the script, later testing it on a Windows 10 device. I don't know if it is because of the version of Windows I'm using. Let me know and I'll try to run it on a Windows 10 VM.
Continue reading...
When I boot up, the script shows. After pressing 'OK' to the message boxes I've created, it gives me an error.
It displays the following information.
Script: C:\Users\derpression\Desktop\Virus.vbs
Line: 5
Char: 1
Error: The system cannot find the file specified.
Code: 80070002
Source: (null)
Here is the script.
Here is the script you can copy.
msgbox("You've been infected! To disable your virus, please send $500 worth of Bitcoin to BLOCKED to receive your access key. Click 'OK' to continue.")
pass=inputbox("Please enter your 10-digit key to disable the virus. Send $500 worth of Bitcoin to BLOCKED, then send an email to BLOCKED with your email and proof. Your key will get sent to you.")
if pass="0x9dk2sm87" then msgbox("Correct key! Virus has been disabled. Let BLOCKED know to delete the virus.") else Set Shell=CreateObject("wscript.shell")
Shell.Run("Virus.vbs")
Let me know if I probably did something wrong in the script. I'm new to this VBScript thing, so I don't know what to do.
I've done multiple methods but they never worked.
Running VBScript at Startup: How to Enable Programs and Custom Scripts to Run at Boot
Disabling All Third-Party Apps: windows script host error message on startup (link was too long)
I also visited some old forum posts. Unfortunately, they didn't work as well. I doubted they even worked, they were from 2006 or 2013!
I'm using a virtual machine running Windows 7 currently to run the script, later testing it on a Windows 10 device. I don't know if it is because of the version of Windows I'm using. Let me know and I'll try to run it on a Windows 10 VM.
Continue reading...