Remote control software using gRPC and Go.
- Agent - Runs on the endpoint.
- Controller - The server that the agents connect to.
- Agent Manager - The server that runs alongside the controller to manage the agents.
- Controller Client - Talks to the agent manager.
- Update the
config.json
according to your needs. - Run the controller servers:
go run controller/main.go
- Run the agents:
go run agent/main.go
- Control the agents:
ipython -i controller-client/main.py
cnc.get_agents()
> [
id: 0
alive: true
connect_time: "2022-06-19 15:22:13.17828 +0300 IDT m=+61.594837928"
]
agent = cnc.get_agent(agent_id=0)
agent.shell('whoami')
> 'root'