Breaking Out Forum Index Breaking Out
Breaking Out release board.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 




A diferent way to write registry keys using cmd

 
Post new topic   Reply to topic    Breaking Out Forum Index -> Coding
View previous topic :: View next topic  
Author Message
hacxx



Joined: 04 Sep 2020
Posts: 1162

PostPosted: Tue Sep 22, 2020 12:17 pm    Post subject: A diferent way to write registry keys using cmd Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website AIM Address
Free Forum






PostPosted:      Post subject: ForumsLand.com

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Breaking Out Forum Index -> Coding All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosted by ForumsLand.com - 100% free forum. Powered by phpBB 2.