Windows

I LOVE DOING THIS :)

File Permissions Abuse

If we are allowed to enter the Administrator's directory as an normal user, then

icacls C:\Users\Administrator    # Check if the user has (F) on the dir

If suppose, the user is also configured to own the root.txt - then we can grant access ourselves

dir /q root.txt                  # To Check if it's owned by the user
icacls root.txt /grant user:F    # To Grant permissions

Last updated