Extend the system informations

This commit is contained in:
Zoltán Papp
2024-01-17 09:03:41 +01:00
parent 9fa0fbda0d
commit ef4a2ccbca
9 changed files with 286 additions and 12 deletions

View File

@@ -31,6 +31,27 @@ type Info struct {
CPUs int
WiretrusteeVersion string
UIVersion string
BiosManufacturer string
BiosVersion string
ChassisType uint
ChassisTypeDesc string
ConnectionIp string
ConnectionMacAddress string
CPUSignature string
DefaultGatewayIp string
ExternalIp string
LastReboot string
LocalIp string
MacAddress string
KernelMajorVersion string
KernelMinorVersion string
OSBuild string
OSProductName string
ProductTypeDesc string
SerialNumber string
SystemManufacturer string
SystemProductName string
}
// extractUserAgent extracts Netbird's agent (client) name and version from the outgoing context