diff --git a/docs/cloud/aws/AWS Pentest.md b/docs/cloud/aws/AWS Pentest.md index ea738f0..18051e8 100644 --- a/docs/cloud/aws/AWS Pentest.md +++ b/docs/cloud/aws/AWS Pentest.md @@ -277,7 +277,7 @@ aws s3 ls --profile example_profile * iam:CreateLoginProfile -> Creates a new login profile * iam:UpdateLoginProfile -> Update an existing login profile * iam:PassRole and ec2:RunInstances -> Creates an EC2 instance with an existing instance profile -* iam:PuserUserPolicy -> Create/Update an inline policy +* iam:PutUserPolicy -> Create/Update an inline policy * iam:PutGroupPolicy -> Create/Update an inline policy for a group * iam:PutRolePolicy -> Create/Update an inline policy for a role * iam:AddUserToGroup -> Add an user to a group @@ -350,7 +350,7 @@ aws iam get-role --role-name role_name ##### Listing all managed policies attached to the specific IAM role ``` -aws iam liast-attached-role-policies --role-name role_name +aws iam list-attached-role-policies --role-name role_name ``` ##### Retrieving information about the specified version of the policy @@ -547,7 +547,7 @@ aws apigateway get-stages --rest-api-id ID ### Getting informatin about a specific version ``` -aws apigateway get-stage --res-api-id ID --stage-name NAME +aws apigateway get-stage --rest-api-id ID --stage-name NAME ``` ### Listing API KEYS