Skip to content

Commit

Permalink
style: improves markdown syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmeese7 committed Jan 17, 2023
1 parent df1ca17 commit 8ea79eb
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

Found a set of AWS credentials and have no idea which permissions it might have?

```console
```log
$ ./enumerate-iam.py --access-key AKIA... --secret-key StF0q...
2019-05-10 15:57:58,447 - 21345 - [INFO] Starting permission enumeration for access-key-id "AKIA..."
2019-05-10 15:58:01,532 - 21345 - [INFO] Run for the hills, get_account_authorization_details worked!
2019-05-10 15:58:01,537 - 21345 - [INFO] -- {
"RoleDetailList": [
{
"Tags": [],
"Tags": [],
"AssumeRolePolicyDocument": {
"Version": "2008-10-17",
"Version": "2008-10-17",
"Statement": [
{
...
Expand All @@ -30,7 +30,7 @@ calls are performed).

## Installation

```
```shell
git clone git@github.com:andresriancho/enumerate-iam.git
cd enumerate-iam/
pip install -r requirements.txt
Expand All @@ -44,10 +44,12 @@ the main function and provide the required arguments:
```python
from enumerate_iam.main import enumerate_iam

enumerate_iam(access_key,
secret_key,
session_token,
region)
enumerate_iam(
access_key,
secret_key,
session_token,
region
)
```

The output will contain all the enumerated permission information in a python
Expand All @@ -67,12 +69,12 @@ Decided to write my own because the others:
The API calls to be performed during permission enumeration are stored in
`enumerate_iam/bruteforce_tests.py`, a Python dict() which is generated by
`enumerate_iam/generate_bruteforce_tests.py` using the API documentation
available in the `aws-sdk-js` library.
available in the `aws-sdk-js` library.

AWS releases new services every quarter, to make sure that this tool is
finding all the existing permissions run:

```console
```shell
cd enumerate_iam/
git clone https://github.com/aws/aws-sdk-js.git
python generate_bruteforce_tests.py
Expand Down

0 comments on commit 8ea79eb

Please sign in to comment.