百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

peirates

> 编程语言
开源

Peirates - Kubernetes 渗透测试工具

1.5K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Peirates - Kubernetes 渗透测试工具

Peirates

What is Peirates?

Peirates, a Kubernetes penetration tool, enables an attacker to escalate privilege and pivot through a Kubernetes cluster. It automates known techniques to steal and collect service account tokens, secrets, obtain further code execution, and gain control of the cluster.

Where do I run Peirates?

You run Peirates from a container running on Kubernetes or from a Kubernetes node, outside the container.

Does Peirates attack a Kubernetes cluster?

Yes, it absolutely does. Talk to your lawyer and the cluster owners before using this tool in a Kubernetes cluster.

Who creates Peirates?

InGuardians' CTO Jay Beale first conceived of Peirates and put together a group of InGuardians developers to create it with him, including Faith Alderson, Adam Crompton and Dave Mayer. Faith convinced us to all learn Golang, so she could implement the tool's use of the kubectl library from the Kubernetes project. Adam persuaded the group to use a highly-interactive user interface. Dave brought contagious enthusiasm. Together, these four developers implemented attacks and began releasing this tool that we use on our penetration tests.

Other contributors have helped as well - see GitHub to see more, but please also review credits.md.

Do you welcome contributions?

Yes, we absolutely do. Submit a pull request and/or reach out to [email protected].

What license is this released under?

Peirates is released under the GPLv2 license.

Running Peirates

If you just want the peirates binary to start attacking things, grab the latest release from the releases page.

For command behavior, prerequisites, side effects, cleanup, and troubleshooting, see the main menu command reference.

Peirates as a Container Image

You can find a useful alpine-peirates container image on Docker Hub, with a version number tag that tracks the Peirates version.

For example, for alpine-peirates:v1.1.32, which contains peirates version v1.1.32, run:

docker pull bustakube/alpine-peirates:v1.1.32

Building Peirates

However, if you want to build from source, read on!

make build-amd64
make build-arm
make build-arm64
make build-86

The default build target generates a statically linked Linux AMD64 executable named peirates in the repository root. You can also invoke it explicitly with make build.

make build

To build another single architecture without creating a distribution archive, use a target like so:

make build-amd64
make build-arm
make build-arm64
make build-x86

The output file's name uses BINARY and defaults to peirates in the repository root.

Build compressed Linux distributions for AMD64, ARM, ARM64, and 386:

make dist

Distribution archives contain statically linked binaries and are written to scripts/. Set DIST_COMPRESS=no to keep unpacked binaries or DIST_ARCHES=amd64 to build a subset of architectures. Individual targets such as make dist-arm64 are also available.

GitHub Issues· 25 开放

在 GitHub 查看全部
  • #69

    FEATURE REQUEST/BUG: curl doesn't show headers returned, which would include authn cookies

    更新于 2026年1月31日
  • #62

    Ability to specify a directory for stealing Service Account Token

    更新于 2024年10月15日
  • #61

    Installation errors

    更新于 2024年8月13日
  • #59

    Add nsenter functionality.

    enhancement更新于 2024年5月16日
  • #57

    Feature request: move temp files to /dev/shm

    enhancement更新于 2024年5月10日
  • #40

    Strip down the final binary

    enhancement更新于 2024年5月6日
  • #56

    Feature request: mount drive in privileged pod to write crontab or systemd file

    enhancement更新于 2024年5月6日
  • #34

    module declares its path as: github.com/google/gnostic but was required as: github.com/googleapis/gnostic

    bug更新于 2023年5月13日
  • #41

    test harness

    enhancement更新于 2023年5月9日
  • #31

    Enable Mend or equivalent to manage libs

    更新于 2022年12月22日

核心特点

  • •Go

> 标签

Go

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言