Files
Adaptix-Framework-AdaptixC2/AdaptixServer/core/profile/utils.go
T
2025-06-24 09:27:38 +03:00

34 lines
935 B
Go

package profile
type AdaptixProfile struct {
Server *TsProfile `json:"Teamserver"`
ServerResponse *TsResponse `json:"ServerResponse"`
Callbacks *TsCallback `json:"EventCallback"`
}
type TsProfile struct {
Port int `json:"port"`
Endpoint string `json:"endpoint"`
Password string `json:"password"`
Cert string `json:"cert"`
Key string `json:"key"`
Extenders []string `json:"extenders"`
ATokenLive int `json:"access_token_live_hours"`
RTokenLive int `json:"refresh_token_live_hours"`
}
type TsResponse struct {
Status int `json:"status"`
Headers map[string]string `json:"headers"`
PagePath string `json:"page"`
PageContent string
}
type TsCallback struct {
Telegram struct {
Token string `json:"token"`
ChatsId []string `json:"chats_id"`
} `json:"Telegram"`
NewAgentMessage string `json:"new_agent_message"`
}