hacxx
Joined: 04 Sep 2020 Posts: 1162
|
Posted: Tue Sep 22, 2020 12:17 pm Post subject: A diferent way to write registry keys using cmd |
|
|
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.
Code: |
mshta vbscript:(CreateObject("WScript.Shell").RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Run\calc","calc.exe"))(Window.Close)
|
_________________ Install Brave Browser for 30 days arnd earn money. - http://bit.ly/_brave_browser |
|