diff --git a/Enumeration/AWS.md b/Enumeration/AWS.md index eb7251d..ac59f45 100644 --- a/Enumeration/AWS.md +++ b/Enumeration/AWS.md @@ -710,7 +710,7 @@ aws ec2 describe-instances --query 'Reservations[*].Instances[*].Tags[?Key==`Nam List all InstanceIds in the account via aws cli. ```sh -list=$(aws ec2 describe-instances --region --query Reservations[].Instances.InstanceId --output json --profile PROFILENAME) | jq .[] -r +list=$(aws ec2 describe-instances --region --query Reservations[].Instances.InstanceId --output json --profile PROFILENAME | jq .[] -r) ``` Get user data like cloud-init scripts from the instances via aws cli.