Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

188 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C2_Engineering_Project

C2 Folder:

  • Contains all the files related to the server side of the project

  • To run the c2 server

    1. Make sure you have python3 installed
    2. cd into the C2 folder
    3. Create a virtual environtment with python3 -m venv c2_env
    4. Acticate the virtual environment with source c2_env/bin/activate, or c2_env/Scripts/activate if you are using powershell
    5. You can exit the virtual environtment with deactivate
    6. Install the dependencies with pip3 install -r requirements.txt
    7. Create a new database called c2_server in mysql by using CREATE DATABASE c2_server
    8. Create a new file in the C2 folder named creds.py with the line db_cred = {"username":"", "password":""}, and fill in your username and password for your mysql server
    9. Create a database with python3 make_db.py
    10. Run the server with flask run
  • After installing new dependencies, run pip3 freeze > requirements.txt

implant Folder:

  • To compile, run make implant
  • Double click implant.exe to run the implant in default mode and connect to the remote server
  • For development/testing purposes, you can run implant.exe -local to connect to your local server and view implant behavior in the console window

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages