Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
pyc2 — simple c2 written in python to demonstrate security concepts | Kitploit
Tools/GitHubGitHub/r00k5a58/pyc2
Payload GenerationNetwork SecurityPenetration TestingCommand and ControlLearning & EducationRed Teaming
GitHubr00k5a58/pyc2

pyc2

simple c2 written in python to demonstrate security concepts

View Repository
13678 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

pyc2

simple 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

requires scapy (pip install scapy)

on a client computer, enter the c2 IP address in the c2_config.py file.

command_list.client id should be a list of commands, one per line, exactly how you would enter it into the cli. use echo >> command_list to add new commands to the file:

echo "cat /etc/passwd" >> command_list.client id

probably won't work on windows (i tried to get scapy running on windows 10 and gave up, you might have better success)

c2 server requires that icmp echo packets are ignored by the kernel:

in linux: echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all

Download Tool