Brownie
Host
The BrownieHost class is useful to
represent a Brownie's host
Author
N7ghtm4r3 - Tecknobit
See also
EquinoxItem
Constructors
Link copied to clipboard
constructor()
Constructor to instantiate the object
constructor(id: String, name: String, hostAddress: String, status: HostStatus, sshUser: String, sshPassword: String, session: BrownieSession, macAddress: String, broadcastIp: String, events: List<HostHistoryEvent>, services: List<BrownieHostService>, insertionDate: Long)
Constructor to instantiate the object
Properties
Link copied to clipboard
broadcastIp
the ip address of the remote host network interface
Link copied to clipboard
Link copied to clipboard
events the
events related to the lifecycle of the host
Link copied to clipboard
hostAddress
the address of the host
Link copied to clipboard
insertionDate the date when
the host has been inserted in the system
Link copied to clipboard
macAddress
the physical mac address of the remote host network
interface
Link copied to clipboard
services
the services attached to the host
Link copied to clipboard
session the
owner session of the host
Link copied to clipboard
sshPassword
the password to use for the SSH connection
Link copied to clipboard
status the
current status of the host
Functions
Link copied to clipboard
Method used to decrypt the remote host's
sensitive data
Link copied to clipboard
Method used to encrypt the remote host's
sensitive data
Link copied to clipboard
Method to retrieve the specified service
from to the host
Link copied to clipboard
Method used to handle the sensitive data of
the remote host, assigning the encrypted or decrypted values
to the fields
Link copied to clipboard
Method to check whether the specified
service belongs to the host
Link copied to clipboard
Method used to handle the remote host's
sensitive data, decrypting and after custom usage,
encrypting again
Link copied to clipboard
Method to check whether the host is remotely
connected
Link copied to clipboard
Method used to list the names of the running
services of this host
Link copied to clipboard
Method used to list the pids of the running
services of this host