{"id":13389928,"url":"https://github.com/r00k5A58/pyc2","last_synced_at":"2025-03-13T14:32:14.513Z","repository":{"id":216714802,"uuid":"86621025","full_name":"r00k5A58/pyc2","owner":"r00k5A58","description":"simple c2 written in python to demonstrate security concepts","archived":false,"fork":false,"pushed_at":"2018-09-17T04:52:05.000Z","size":5,"stargazers_count":13,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T00:13:17.957Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/r00k5A58.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}},"created_at":"2017-03-29T19:24:42.000Z","updated_at":"2024-04-27T08:50:07.000Z","dependencies_parsed_at":"2024-02-08T00:12:12.392Z","dependency_job_id":"a6673bf9-aea4-43f7-9467-e3ae7ffb7b6f","html_url":"https://github.com/r00k5A58/pyc2","commit_stats":null,"previous_names":["r00k5a58/pyc2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r00k5A58%2Fpyc2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r00k5A58%2Fpyc2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r00k5A58%2Fpyc2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r00k5A58%2Fpyc2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r00k5A58","download_url":"https://codeload.github.com/r00k5A58/pyc2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243422687,"owners_count":20288502,"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-07-30T13:01:40.300Z","updated_at":"2025-03-13T14:32:14.195Z","avatar_url":"https://github.com/r00k5A58.png","language":"Python","funding_links":[],"categories":["Python","Python (1887)"],"sub_categories":[],"readme":"# pyc2\nsimple c2 written in python2 to demonstrate security concepts. use icmp echo requests and replies to trade base64 encoded commands and replies. Video explaining some of the security concepts and implementation decisions: https://www.youtube.com/watch?v=DHrEn7oK9vQ\n\nrequires scapy (pip install scapy)\n\non a client computer, enter the c2 IP address in the c2_config.py file.\n\ncommand_list.*client id* should be a list of commands, one per line, exactly how you would enter it into the cli. use echo \u003e\u003e command_list to add new commands to the file:\n\necho \"cat /etc/passwd\" \u003e\u003e command_list.*client id*\n\nprobably won't work on windows (i tried to get scapy running on windows 10 and gave up, you might have better success)\n\nc2 server requires that icmp echo packets are ignored by the kernel:\n\nin linux:\necho 1 \u003e/proc/sys/net/ipv4/icmp_echo_ignore_all\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr00k5A58%2Fpyc2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr00k5A58%2Fpyc2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr00k5A58%2Fpyc2/lists"}