Merge branch 'master' of github.com:mgeeky/Penetration-Testing-Tools

This commit is contained in:
Mariusz B 2020-04-20 19:44:54 -04:00
commit 255f86b2f1
2 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ if [[ "$ROLE_NAME" == "all" ]]; then
echo "[+] Evaluating ALL used IAM Roles" echo "[+] Evaluating ALL used IAM Roles"
echo 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 for role in "${out[@]}"; do
examine_role $role examine_role $role

View File

@ -58,7 +58,7 @@ function rds_snapshots() {
function ami_images() { function ami_images() {
out=$(_aws ec2 describe-images --owners self --executable-users all) out=$(_aws ec2 describe-images --owners self --executable-users all)
if ! echo "$out" | grep -q '": \[\]'; then if ! echo "$out" | grep -q '": \[\]'; then
echo "---[ Public RDS Snapshots" echo "---[ Public AMI Images"
echo "$out" echo "$out"
echo echo
fi fi