{"id":13644414,"url":"https://github.com/inguardians/peirates","last_synced_at":"2025-05-14T00:07:53.463Z","repository":{"id":44357662,"uuid":"173833386","full_name":"inguardians/peirates","owner":"inguardians","description":"Peirates - Kubernetes Penetration Testing tool","archived":false,"fork":false,"pushed_at":"2025-04-22T22:14:34.000Z","size":4144,"stargazers_count":1309,"open_issues_count":22,"forks_count":122,"subscribers_count":28,"default_branch":"main","last_synced_at":"2025-04-22T23:26:09.433Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.inguardians.com/peirates/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inguardians.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-04T22:44:05.000Z","updated_at":"2025-04-22T22:14:37.000Z","dependencies_parsed_at":"2024-02-28T07:31:43.838Z","dependency_job_id":"e9c3b264-bb00-482f-8cc2-179371b6d90a","html_url":"https://github.com/inguardians/peirates","commit_stats":{"total_commits":591,"total_committers":16,"mean_commits":36.9375,"dds":0.3942470389170897,"last_synced_commit":"d6525db635f79214dce36836b8fddfed44419535"},"previous_names":[],"tags_count":71,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inguardians%2Fpeirates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inguardians%2Fpeirates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inguardians%2Fpeirates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inguardians%2Fpeirates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inguardians","download_url":"https://codeload.github.com/inguardians/peirates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254043865,"owners_count":22005028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T01:02:03.598Z","updated_at":"2025-05-14T00:07:53.447Z","avatar_url":"https://github.com/inguardians.png","language":"Go","funding_links":[],"categories":["Tools","Repositories / Tools","Other Awesome Lists","Go","Go (531)","文章","0x02 工具 :hammer_and_wrench:","Offensive (ATT\u0026CK tactics)","Container \u0026 Kubernetes"],"sub_categories":["Attack","Attacking","Subdomain Takeover","2 云原生工具","⬆️ Privilege Escalation"],"readme":"# Peirates\n\n[![Release](https://img.shields.io/github/release/inguardians/peirates.svg?style=flat-square)](https://github.com/inguardians/peirates/releases/latest) [![gosec](https://github.com/inguardians/peirates/actions/workflows/gosec.yml/badge.svg)](https://github.com/inguardians/peirates/actions/workflows/gosec.yml)\n\n![Logo](/peirates_logo.png?raw=true)\n\n## What is Peirates?\n\nPeirates, a Kubernetes penetration tool, enables an attacker to escalate privilege and pivot\nthrough a Kubernetes cluster. It automates known techniques to steal and collect service account tokens,\nsecrets, obtain further code execution, and gain control of the cluster.\n\n## Where do I run Peirates?\n\nYou run Peirates from a container running on Kubernetes or from a Kubernetes node, outside the container.\n\n## Does Peirates attack a Kubernetes cluster?\n\nYes, it absolutely does. Talk to your lawyer and the cluster owners before using this tool in a Kubernetes cluster.\n\n## Who creates Peirates?\n\nInGuardians' CTO Jay Beale first conceived of Peirates and put together a group of InGuardians developers\nto create it with him, including Faith Alderson, Adam Crompton and Dave Mayer. Faith convinced us to all\nlearn Golang, so she could implement the tool's use of the kubectl library from the Kubernetes project.\nAdam persuaded the group to use a highly-interactive user interface. Dave brought contagious enthusiasm.\nTogether, these four developers implemented attacks and began releasing this tool that we use on our\npenetration tests.\n\nOther contributors have helped as well - see GitHub to see more, but please also review [credits.md](https://github.com/inguardians/peirates/blob/main/credits.md).\n\n## Do you welcome contributions?\n\nYes, we absolutely do. Submit a pull request and/or reach out to \u003cpeirates-dev@inguardians.com\u003e.\n\n## What license is this released under?\n\nPeirates is released under the GPLv2 license.\n\n## Running Peirates\n\nIf you just want the peirates binary to start attacking things, grab the latest\nrelease from the [releases page](https://github.com/inguardians/peirates/releases/latest).\n\n## Peirates as a Container Image\n\nYou can find a useful [alpine-peirates container image on Docker Hub](https://hub.docker.com/r/bustakube/alpine-peirates), with a version number tag that tracks the Peirates version.\n\nFor example, for `alpine-peirates:1.1.16`, which contains peirates version `1.1.16`, run:\n\n```shell\ndocker pull bustakube/alpine-peirates:1.1.16\n```\n\n## Building Peirates\n\nHowever, if you want to build from source, read on!\n\nGet peirates\n\n    go get -v \"github.com/inguardians/peirates\"\n\nGet libary sources if you haven't already (Warning: this will take almost a\ngig of space because it needs the whole kubernetes repository)\n\n    go get -v \"k8s.io/kubectl/pkg/cmd\" \"github.com/aws/aws-sdk-go\"\n\nBuild the executable\n\n    cd $GOPATH/github.com/inguardians/peirates/scripts\n    ./build.sh\n\nThis will generate an executable file named `peirates` in the same directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finguardians%2Fpeirates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finguardians%2Fpeirates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finguardians%2Fpeirates/lists"}