-
editing the registry
How do I edit the registry. I'm learning by the seat of my pants. I took a sub routine from the ILOVEYOU virus to edit the registry but it only create strings.
Private Sub regcreate(regkey, regvalue)
Set regedit = CreateObject("WScript.Shell")
regedit.regwrite regkey, regvalue
End Sub
I'm using Visual Studio 6. Any info would be great. Please email [email protected].
Thanks in advance
-
Re: editing the registry
Why broadcast your lab? If anyone answers his question has helped release another virus.
surge
-
Re: editing the registry
Let's assume that you are not going to rewrite anything as stupid as the ILOVEU virus, but take it as a learning sample:
You can write DWORDs using the third argument or regwrite
WshShell.RegWrite "yourkey", 1 ,"REG_DWORD"