mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-11-25 03:51:37 +01:00
Merge branch 'master' of github.com:mgeeky/Penetration-Testing-Tools
This commit is contained in:
commit
255f86b2f1
@ -184,7 +184,7 @@ if [[ "$ROLE_NAME" == "all" ]]; then
|
||||
echo "[+] Evaluating ALL used IAM Roles"
|
||||
echo
|
||||
|
||||
out=($(aws --profile awl iam list-roles --query 'Roles[*].RoleName' --output text | tr '\t' '\n'))
|
||||
out=($(aws --profile $PROFILE iam list-roles --query 'Roles[*].RoleName' --output text | tr '\t' '\n'))
|
||||
|
||||
for role in "${out[@]}"; do
|
||||
examine_role $role
|
||||
|
@ -58,7 +58,7 @@ function rds_snapshots() {
|
||||
function ami_images() {
|
||||
out=$(_aws ec2 describe-images --owners self --executable-users all)
|
||||
if ! echo "$out" | grep -q '": \[\]'; then
|
||||
echo "---[ Public RDS Snapshots"
|
||||
echo "---[ Public AMI Images"
|
||||
echo "$out"
|
||||
echo
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user