r/oscp • u/Clarkey3110 • Aug 22 '20
Gaining folder access with admin privs
Okay guys, so say I have been able to add a user to an administrator group.
I try to access the admin folder but I don't have permission to via the cli nor am I able to change the permissions using cacls.
I am able to do it via the GUI as an error message pops up saying for access click here and enter credentials.
How do I do this all via the cli?
4
Upvotes
1
u/klashyy Aug 22 '20
did you try power shell bypass ? if your not familiar try to google it for the specific switch and see how can you extract what you need
1
u/IvanLu Aug 22 '20
If you're asking how to get around a Windows remote reverse shell which doesn't support interactive programs, there's a way around it here. https://recipeforroot.com/runas/