Yet another Command & Control (C2) server using Golang...
This would be my third time making the exact same barebones C2 but with slight improvements, this time I decided to learn Go while doing it because I was bored.
Very heavily a WIP, C agent coming soon.
Compilation
Only the teamserver needs to be compiled,
go build .
chmod +x teamserver
./teamserver <ip><port><password>
Change Log
9/11/2023 - Beacons can now go offline!
If the callback from the last beacon is over Agent.Sleep + 5 seconds, the beacon will be marked as down (but should still listening for callbacks).
In its current state, the agent gets completely removed from the AgentList[] and AgentCallbacks[] if it goes offline, this will be changed in the future to allow for offline agents to still be in the list.
The change of beacon state is also reflected in the AgentList[] and AgentCallbacks[] tables