Google Cloud (GCP) generating token

If you are in the middle of a penetration test and quickly want to generate the authentication token, as your token has expired use the following steps

1.  use the following command to complete auth.

gcloud auth application-default login

2. Then use the following command

gcloud auth application-default print-access-token

the above command will print the access token, which can then be used against the Google API, if you are fuzzing using Burp/etc.

...more on GCP pentesting to come! wait and watch....

Comments

Popular posts from this blog

The correct way to install Jython (for Burpsuite)

RFID cloning with Proxmark3 Easy

Extracting an IPA; App distributed through Testflight