
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Update 5/4/2021: We recently added support for installing via pip, take a look at the Installation section for running pacu when installed with pip. If you want to run pacu directly from the checked out repo you'll want to use ./cli.py instead of python3 pacu.py.
With this change files that where written to ./sessions/<session> before are now output to ~/.local/share/pacu/<session>.
Where to get help: the Pacu Community Slack, or https://stackoverflow.com/search?tab=newest&q=pacu
Where to file issues: https://github.com/RhinoSecurityLabs/pacu/issues
Maintained by: Rhino Security Labs
Pacu is an open-source AWS exploitation framework, designed for offensive security testing against cloud environments. Created and maintained by Rhino Security Labs, Pacu allows penetration testers to exploit configuration flaws within an AWS account, using modules to easily expand its functionality. Current modules enable a range of ***s, including user privilege escalation, backdooring of IAM users, ***ing vulnerable Lambda functions, and much more.
Pacu is a fairly lightweight program, as it requires only https://www.python.org/downloads/ and pip3 to install a handful of Python libraries.
> pip3 install -U pip > pip3 install -U pacu > pacu
For a more detailed and user-friendly set of user instructions, please check out the Wiki's https://github.com/RhinoSecurityLabs/pacu/wiki/Installation.
https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b***bbb497047afa7/assets/images/button.png](http://play-with-docker.com?stack=https://raw.githubusercontent.com/RhinoSecurityLabs/pacu/master/docker_stack.yml)
console$ docker run -it rhinosecuritylabs/pacu:latest
console$ docker run -it --entrypoint /bin/sh rhinosecuritylabs/pacu:latest
Warning: Running this command will mount your local AWS configuration files into the Docker container when it is launched. This means that any user with access to the container will have access to your host computer's AWS credentials.
console$ docker run -it -v ~/.aws:/root/.aws rhinosecuritylabs/pacu:latest
Pacu uses a range of https://github.com/RhinoSecurityLabs/pacu/wiki/Module-Details to assist an ***er in enumeration, privilege escalation, data exfiltration, service exploitation, and log manipulation within AWS environments. At present, Pacu has 36 modules for executing AWS ***s, but we'll be working hard to add more modules in the future, and suggestions for new modules (or even contributions of whole completed modules) are welcome.
To keep pace with ongoing AWS product developments, we've designed Pacu from the ground up with extensibility in mind. A common syntax and data structure keep modules easy to build and expand on - no need to specify AWS regions or make redundant permission checks between modules. A local SQLite database is used to manage and manipulate retrieved data, minimizing API calls (and associated logs). Reporting and *** auditing is also built into the framework; Pacu assists the documentation process through command logging and exporting, helping build a timeline for the testing process.
We'll be working on improving Pacu's core capabilities and building out a well-documented ecosystem so that cybersecurity researchers and developers can make new modules quickly and easily.
We're always happy to get bugs reports in the Pacu framework itself, as well as testing and feedback on different modules, and generally, critical feedback to help refine the framework. We hope to see this grow into a key open-source tool for testing AWS security, and we need your help to make that happen! Any support towards this effort through use, testing, improvement, or just by spreading the word, would be very much appreciated.
If you're interested in contributing directly to the Pacu Framework itself, please read our https://github.com/RhinoSecurityLabs/pacu/wiki/Contribution-Guidelines for code conventions and git-flow notes.
If you're interested in writing your own modules for Pacu, check out our https://github.com/RhinoSecurityLabs/pacu/wiki/Module-Development-Guide wiki page. As you develop new capabilities please reach out to us -- we'd love to add your new modules into the core collection that comes with Pacu.
The first time Pacu is launched, you will be prompted to start and name a new session. This session will be used to store AWS key pairs, as well as any data obtained from running various modules. You can have any number of different sessions in Pacu, each with their own sets of AWS keys and data, and resume a session at any time (though a restart is currently required to switch between sessions).
Modules require an AWS key, which grants you minimal access to an AWS environment and is comprised of an access key ID and a secret access key. To set your session's keys, use the set_keys command, and then follow the prompts to supply a key alias (nickname for reference), an AWS access key ID, an AWS secret access key, and an AWS session token (if you are using one).
If you are ever stuck, help will bring up a list of available commands.
list will list the available modules for the regions that were set in the current session.help module_name will return the applicable help information for the specified module.run module_name will run the specified module with its default parameters.run module_name --regions eu-west-1,us-west-1 will run the specified module against the eu-west-1 and us-west-1 regions (for modules that support the --regions argument)pacu --help will display the help menupacu --session <session name> sets the session to use for commands that require onepacu --list-modules will list all modules available (does not require session)pacu --pacu-help will list the pacu help window (does not require session)pacu --module-name <module name> the name of a moudule to perform an action on, you can execute or get information on the modulepacu --exec execute the module provided in --module-namepacu --module-info get information on the module provded in --module-namepacu --data <service name || all> query the local SQLAlchemy database to retrieve enumerated informationpacu --module-args="<arg1> <value> <arg2> <value>" supply optional module arguments to the module being executedpacu --set-regions <region1 region2 || all> set the regions to use in the session, seperate regions by a space or enter all for all regionspacu --whoami get information about the current userFor walkthroughs and full documentation, please visit the https://github.com/RhinoSecurityLabs/pacu/wiki.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务