{"id":43203121,"url":"https://github.com/starbops/taozhai","last_synced_at":"2026-02-01T06:12:57.459Z","repository":{"id":334249232,"uuid":"1114965491","full_name":"starbops/taozhai","owner":"starbops","description":"IP address reclaimer for servers ruled by harvester/seeder","archived":false,"fork":false,"pushed_at":"2026-01-24T06:24:44.000Z","size":52,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-24T07:21:02.701Z","etag":null,"topics":["harvester-hci","kubernetes","networking","seeder","tinkerbell"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/starbops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-12T06:31:29.000Z","updated_at":"2026-01-23T16:46:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/starbops/taozhai","commit_stats":null,"previous_names":["starbops/taozhai"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/starbops/taozhai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starbops%2Ftaozhai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starbops%2Ftaozhai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starbops%2Ftaozhai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starbops%2Ftaozhai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/starbops","download_url":"https://codeload.github.com/starbops/taozhai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starbops%2Ftaozhai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28970194,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T05:48:53.985Z","status":"ssl_error","status_checked_at":"2026-02-01T05:47:55.855Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["harvester-hci","kubernetes","networking","seeder","tinkerbell"],"created_at":"2026-02-01T06:12:56.677Z","updated_at":"2026-02-01T06:12:57.454Z","avatar_url":"https://github.com/starbops.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# taozhai\n\n**Help! My servers just don't PXE boot!**\n\n\u003e I don't know who you are.  \n\u003e I don't know what you want.  \n\u003e If you're look for a ransom,  \n\u003e I can tell you I don't have IPs.  \n\u003e But what I do have, are a very particular set of skills.  \n\u003e Skills I've acquired over a very long LLM chat session.  \n\u003e Skills that make me a nightmare for servers like you.  \n\u003e If you give my IP address back now, that'll be the end of it.  \n\u003e I will not look for you.  \n\u003e I will not pursue you.  \n\u003e But if you don't, I will look for you.  \n\u003e I will find you.  \n\u003e And I will power-off you.  \n\u003e \n\u003e – *taozhai*\n\n## Build\n\n```shell\nmake build\n```\n\n## Usage\n\n```shell\n$ ./bin/taozhai --help\nUsage of ./bin/taozhai:\n  -bmc-namespace string\n    \tnamespace for BMC Job CRs (default \"tink-system\")\n  -bmc-timeout duration\n    \ttimeout for BMC Job completion (default 5m0s)\n  -force\n    \tskip confirmation prompt\n  -inventory-namespace string\n    \tnamespace for Seeder Inventory CRs (default \"tink-system\")\n  -kubeconfig string\n    \tpath to kubeconfig file (default \"/Users/starbops/.kube/config\")\n  -namespace string\n    \tnamespace for discovery pods (default \"default\")\n  -power-off\n    \tactually create BMC power-off Job (default is dry-run)\n  -timeout duration\n    \ttimeout for pod completion (default 2m0s)\n```\n\nExample:\n\n```shell\n$ ./bin/taozhai --kubeconfig seeder.kubeconfig --power-off 10.115.252.29\n=============================================================\n Taozhai - IP Address Hijacker Detection \u0026 Reclamation\n=============================================================\n\nTarget IP: 10.115.252.29\n\n------------------------------------------------------------\nPhase 1: MAC Address Discovery\n------------------------------------------------------------\nCreating discovery pod taozhai-discovery-1765522316...\nWaiting for pod to complete...\nCleaning up pod taozhai-discovery-1765522316...\n\n✓ Found MAC address: 52:54:00:0b:2e:01\n\n------------------------------------------------------------\nPhase 2: Inventory Search\n------------------------------------------------------------\n\nSearching for Inventory with MAC 52:54:00:0b:2e:01...\n\nInventory Details:\nName:      alfa-1\nNamespace: tink-system\nMAC:       52:54:00:0b:2e:01\nDisk:      /dev/vda\nArch:      amd64\n\n\n✓ Found Inventory CR: alfa-1\n\n------------------------------------------------------------\nPhase 3: BMC Power Control\n------------------------------------------------------------\n\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n WARNING: This will power off the server!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\nInventory:   alfa-1\nMAC Address: 52:54:00:0b:2e:01\nIP Address:  10.115.252.29\n\nThis action will:\n  1. Create a BMC power-off Job in namespace 'tink-system'\n  2. Power off the server to reclaim the IP address\n  3. Cause service disruption if this is the wrong server\n\nAre you sure you want to proceed? (yes/no): yes\n\nCreating BMC power-off Job for machine: alfa-1\n✓ BMC Job created: taozhai-poweroff-alfa-1-1765522331\n\nWaiting for BMC Job to complete (timeout: 5m0s)...\n✓ BMC Job completed successfully\n\n✓ Server powered off successfully\n\n✓ Done!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarbops%2Ftaozhai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarbops%2Ftaozhai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarbops%2Ftaozhai/lists"}