Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'UserData checking' could be added to the section: "privilege-escalation.md#When-on-a-new-machine" #4

Closed
Rezur0x7 opened this issue Feb 26, 2024 · 2 comments

Comments

@Rezur0x7
Copy link

API Command for the checking:

$userData = Invoke-RestMethod -Headers @{"Metadata"="true"} -Method GET -Uri "http://169.254.169.254/metadata/instance/compute/userData?api-version=2021-01-01&format=text";[System.Text.Encoding]::UTF8.GetString([Convert]::FromBase64String($userData)) 
@Rezur0x7
Copy link
Author

Upon checking further I found that the UserData Check/Modify and VMExtensions Check/Modify sections are missing from the cheatsheet. Please find the missing details which I gathered from the CARTP course - https://github.com/AR0x7/Random-Stuff-Comands/blob/main/README.md

@0xJs
Copy link
Owner

0xJs commented Feb 27, 2024

Added the additions thanks!

03468eb

@0xJs 0xJs closed this as completed Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants