{"id":17991716,"url":"https://github.com/hakavlad/fork-bomb-killer","last_synced_at":"2025-03-25T23:32:25.856Z","repository":{"id":145292785,"uuid":"166261789","full_name":"hakavlad/fork-bomb-killer","owner":"hakavlad","description":"Fork bomb detector and deactivator for Linux","archived":false,"fork":false,"pushed_at":"2019-01-21T18:55:14.000Z","size":8,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T23:01:38.344Z","etag":null,"topics":["fork-bomb","linux"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hakavlad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2019-01-17T16:51:08.000Z","updated_at":"2024-11-15T16:34:09.000Z","dependencies_parsed_at":"2023-04-19T01:17:47.171Z","dependency_job_id":null,"html_url":"https://github.com/hakavlad/fork-bomb-killer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakavlad%2Ffork-bomb-killer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakavlad%2Ffork-bomb-killer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakavlad%2Ffork-bomb-killer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakavlad%2Ffork-bomb-killer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hakavlad","download_url":"https://codeload.github.com/hakavlad/fork-bomb-killer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245562285,"owners_count":20635896,"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":["fork-bomb","linux"],"created_at":"2024-10-29T19:23:36.255Z","updated_at":"2025-03-25T23:32:25.787Z","avatar_url":"https://github.com/hakavlad.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fork-bomb-killer\nA daemon for Linux that detects and safely neutralises simple fork bombs.\n\n## Download\n```bash\n$ git clone https://github.com/hakavlad/fork-bomb-killer.git\n$ cd fork-bomb-killer\n```\n\n## Run\n```\n$ sudo nice -n -20 ./fork-bomb-killer\n```\n\n## Output\n\nlike follow:\n\n```\nFork bomb detecting started!\nFork bomb detected! Spawned 10548 processess in 5 seconds\nFind name of bomb processes\n[('bash', 10478)]\nTime: 0.791\nSend SIGSTOP to bomb processes: bash\nTotal stop time: 1.729\nAnalyze stopped processes...\nFind bomb cmdline\n[('bash', 6404), ('/bin/bash', 1)]\n0.5072736740112305\nFind bomb eUID\n[('1000', 6405)]\n0.5482015609741211\nFind bomb PPid\nNumber of unique PPids: 56\n[('1', 6347), ('6387', 2), ('5481', 2), ('1787', 2), ('11193', 1), ('10781', 1), ('11235', 1), ('11245', 1), ('11741', 1)]\n0.5469646453857422\nAnalysis complete. It's time to kill!\nSend SIGKILL to stopped processes\nNumber of killed processes: 6404 \nKill time: 1.172\nSend SIGCONT to innocent victims\n  1864 bash ['/bin/bash']\nNumber of continued: 1\nFork bomb is deactivated in 5.313 seconds \n  Bomb name:    bash \n  Bomb cmdline: bash \n  Bomb eUID:    1000 \n  Bomb PPid:    1 \n ==============================================================================\n```\n\n## Side effect\n\nTemporary stopping of processes whose names coincide with the names of the processes of the bomb during the neutralisation of the fork bomb.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhakavlad%2Ffork-bomb-killer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhakavlad%2Ffork-bomb-killer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhakavlad%2Ffork-bomb-killer/lists"}