summaryrefslogtreecommitdiff
path: root/signedblob-privesc.py
diff options
context:
space:
mode:
Diffstat (limited to 'signedblob-privesc.py')
-rw-r--r--signedblob-privesc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/signedblob-privesc.py b/signedblob-privesc.py
index d105261..8520215 100644
--- a/signedblob-privesc.py
+++ b/signedblob-privesc.py
@@ -17,6 +17,7 @@ def createJwt(service_account_email):
header = {"alg": "RS256", "typ": "JWT"}
payload = {
"iss": service_account_email,
+ "sub": service_account_email,
"scope": "https://www.googleapis.com/auth/cloud-platform",
"aud": "https://oauth2.googleapis.com/token",
"exp": now + 3600,