Skip to content

Pyr0sec/IAMagic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation


IAMagic scans and enumerates AWS access credentials and displays information like all the permissions policies attached to the account, buckets, running instances etc.

Requirements

- Python 3.x
- awscli (credentials must be configured)

Installation

git clone https://github.com/Pyr0sec/IAMagic
cd IAMagic
pip install -r requirements.txt

Usage

(venv) C:\Users\puruj\Documents\git\IAMagic>python IAMagic.py -h                                 
usage: IAMagic.py [-h] [[-id ACCESS_KEY_ID] [-key SECRET_ACCESS_KEY] | [--profile PROFILE]] [--enumerate]

options:
  -h, --help            show this help message and exit
  -id ACCESS_KEY_ID, --access-key-id ACCESS_KEY_ID
                        Accepts AWS access key ID as an argument
  -key SECRET_ACCESS_KEY, --secret-access-key SECRET_ACCESS_KEY
                        Accepts AWS Secret access key as an argument
  --profile PROFILE     Used to specify an AWS profile on your system (like awscli), Uses default credentials if not specified any.
  --enumerate           Further enumerates the credentials by Checking    

Examples

python IAMagic.py --profile <aws-profile-here> --enumerate
python IAMagic.py -id <access-key> -key <secret-key> --enumerate

Screenshots

Untitled (1) Untitled 2

"Support a caffeine addict"

Releases

No releases published

Languages