diff --git a/src/pentesting-cloud/gcp-security/gcp-basic-information/README.md b/src/pentesting-cloud/gcp-security/gcp-basic-information/README.md index 24e254f030..684f6c1694 100644 --- a/src/pentesting-cloud/gcp-security/gcp-basic-information/README.md +++ b/src/pentesting-cloud/gcp-security/gcp-basic-information/README.md @@ -315,7 +315,7 @@ Google actually [recommends](https://cloud.google.com/compute/docs/access/servic You can see what **scopes** are **assigned** by **querying:**[[20]](#references) ```bash -curl 'https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=' +curl 'https://oauth2.googleapis.com/tokeninfo?access_token=' { "issued_to": "223044615559.apps.googleusercontent.com", diff --git a/src/pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-kms-post-exploitation.md b/src/pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-kms-post-exploitation.md index 5d228ea6f3..af1fc1b1dc 100644 --- a/src/pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-kms-post-exploitation.md +++ b/src/pentesting-cloud/gcp-security/gcp-post-exploitation/gcp-kms-post-exploitation.md @@ -139,7 +139,7 @@ gcloud kms import-jobs create my-import-job \ # Generate key material openssl rand -out my-key-material.bin 32 -# Import the Key Material (it's encrypted with an asymetrict key of the import job previous to be sent) +# Import the Key Material (it's encrypted with an asymmetric key of the import job previous to be sent) gcloud kms keys versions import \ --import-job my-import-job \ --location us-central1 \ diff --git a/src/pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-appengine-privesc.md b/src/pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-appengine-privesc.md index 383c9d6d71..b9bb0da880 100644 --- a/src/pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-appengine-privesc.md +++ b/src/pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-appengine-privesc.md @@ -63,7 +63,7 @@ This is what makes the deploy path a **privesc primitive**: unless another ident ../gcp-services/gcp-app-engine-enum.md {{#endref}} -The URL of the application is something like `https://.oa.r.appspot.com/` or `https://-dot-.oa.r.appspot.com`.[[7]](#references) +The URL of the application is something like `https://..r.appspot.com/` or `https://-dot-..r.appspot.com` (where `` is the region code, e.g. `uc` for `us-central`).[[7]](#references) ### Update equivalent permissions diff --git a/src/pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-secretmanager-privesc.md b/src/pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-secretmanager-privesc.md index 444c0e36e6..7e918347f8 100644 --- a/src/pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-secretmanager-privesc.md +++ b/src/pentesting-cloud/gcp-security/gcp-privilege-escalation/gcp-secretmanager-privesc.md @@ -36,7 +36,7 @@ The `secretmanager.secrets.setIamPolicy` permission lets a principal change a se
Add IAM policy binding to secret ```bash -gcloud secrets add-iam-policy-binding \ +gcloud secrets add-iam-policy-binding \ --member="serviceAccount:@$PROJECT_ID.iam.gserviceaccount.com" \ --role="roles/secretmanager.secretAccessor" ```