0% found this document useful (0 votes)
4 views1 page

Virus Code 9

The document contains a Visual Basic Script (VBS) that automates the opening of Notepad and types the phrase 'HI THIS IS A AUTOMATING!'. It uses the WScript.Shell object to run Notepad and send keystrokes with pauses in between. The script is intended to be saved as a .vbs file.

Uploaded by

antonyjernausj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Virus Code 9

The document contains a Visual Basic Script (VBS) that automates the opening of Notepad and types the phrase 'HI THIS IS A AUTOMATING!'. It uses the WScript.Shell object to run Notepad and send keystrokes with pauses in between. The script is intended to be saved as a .vbs file.

Uploaded by

antonyjernausj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Set wshshell = wscript.CreateObject("WScript.

Shell")
Wshshell.run "Notepad"
wscript.sleep 100
wshshell.sendkeys "H"
wscript.sleep 100
wshshell.sendkeys "I"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "T"
wscript.sleep 100
wshshell.sendkeys "H"
wscript.sleep 100
wshshell.sendkeys "I"
wscript.sleep 100
wshshell.sendkeys "S"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "I"
wscript.sleep 100
wshshell.sendkeys "S"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "A"
wscript.sleep 100
wshshell.sendkeys "U"
wscript.sleep 100
wshshell.sendkeys "T"
wscript.sleep 100
wshshell.sendkeys "O"
wscript.sleep 100
wshshell.sendkeys "T"
wscript.sleep 100
wshshell.sendkeys "Y"
wscript.sleep 100
wshshell.sendkeys "P"
wscript.sleep 100
wshshell.sendkeys "I"
wscript.sleep 100
wshshell.sendkeys "N"
wscript.sleep 100
wshshell.sendkeys "G"
wscript.sleep 100
wshshell.sendkeys "!"
wscript.sleep 100
wshshell.sendkeys "!"
save this file as vbs

You might also like