安装:
python -m ec2stepshell -h
# running using the default profile configured in AWS CLIpython -m ec2stepshell $instance_id --region $region # running using a specific profile configured in AWS CLIpython -m ec2stepshell $instance_id --region $region --profile $profile # running using persistent access credentialspython -m ec2stepshell $instance_id --region $region --access-key $access_key --secret-key $secret_key # running using temporary access credentialspython -m ec2stepshell $instance_id --region $region --access-key $access_key --secret-key $secret_key --session-token $session_token
# for MacOS and UNIX instances
python -m ec2stepshell $instance_id --region $region --os linux
# for Windows instances
python -m ec2stepshell $instance_id --region $region --os windows
# set an initial delay of 2.5 seconds
python -m ec2stepshell $instance_id --region $region --delay 2.5
# set retry delay of 0.5 seconds
python -m ec2stepshell $instance_id --region $region --retry-delay 0.5
# increase the maximum number of retries to 5
python -m ec2stepshell $instance_id --region $region --max-retries 5
原文始发于微信公众号(网络安全交流圈):AWS云服务攻击后续工具
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论