HackTricks-wiki / hacktricks-cloud

519 stars 204 forks source link

Update aws-elastic-beanstalk-privesc.md #29

Closed e1abrador closed 6 months ago

e1abrador commented 6 months ago

The --environment-name flag is not working on the command: aws rebuild-environment --environment-name "env-name". Instead, should be this: aws elasticbeanstalk rebuild-environment --environment-id "env-id"

References: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-management-rebuild.html