Skip to content

17Chad/Phantom-C2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

▀███▀▀▀██▄▀████▀  ▀████▀▀     ██     ▀███▄   ▀███▀██▀▀██▀▀███ ▄▄█▀▀██▄ ▀████▄     ▄███▀
  ██   ▀██▄ ██      ██       ▄██▄      ███▄    █ █▀   ██   ▀███▀    ▀██▄ ████    ████  
  ██   ▄██  ██      ██      ▄█▀██▄     █ ███   █      ██    ██▀      ▀██ █ ██   ▄█ ██  
  ███████   ██████████     ▄█  ▀██     █  ▀██▄ █      ██    ██        ██ █  ██  █▀ ██  
  ██        ██      ██     ████████    █   ▀██▄█      ██    ██▄      ▄██ █  ██▄█▀  ██  
  ██        ██      ██    █▀      ██   █     ███      ██    ▀██▄    ▄██▀ █  ▀██▀   ██  
▄████▄    ▄████▄  ▄████▄▄███▄   ▄████▄███▄    ██    ▄████▄    ▀▀████▀▀ ▄███▄ ▀▀  ▄████

Phantom-C2

  • Written for fun to learn sockets and more C.
  • Clear text, do not use outside a lab envrionment.
  • Agents written in C
  • Server in Python3.8

To get the server up and listening:

# Listening on 0.0.0.0 (all interfaces) port 5000
python3.8 c2-server.py 

To get the C implant running:

# Compile it first, I'm just using gcc  
gcc -o client main.c networking.c command.c

# Then just run it, it should call into the server 127.0.0.1:5000
./client

About

Agents written in C, server in Python3.8

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published