Created
October 4, 2021 01:35
-
-
Save gyrospectre/a42d2f17af479355e6bfb4f80ae7890a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -X POST <API URL> -d "{test12344: 'test1'}" | |
{"test12344": "test1"} | |
$./exploit.sh ... | |
[+] Creating evil yaml with payload 'switch_runtime.py' and data 'exploit.tmp' | |
[+] Done, evil yaml at evil_yaml | |
{"Output": "Successfully took over the bootstrap runtime"} | |
$ curl -X POST <API URL> -d "{test12344: 'test1'}" | |
Exception('Runtime has been tampered with, aborting! File: /tmp/new_runtime.py') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment