Discover Packages
github.com/GoToolSharing/htb-cli
lib
vpn
package
Version:
v1.6.0
Opens a new window with list of versions in this module.
Published: Jan 27, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
DownloadAll downloads VPN configurations from HackTheBox for different server types.
Start starts the VPN connection using an OpenVPN configuration file.
Status checks the current status of the VPN connection.
Stop terminates any active HackTheBox OpenVPN connections.
type Assigned struct {
ID int `json:"id"`
FriendlyName string `json:"friendly_name"`
CurrentClients int `json:"current_clients"`
Location string `json:"location"`
LocationFriendly string `json:"location_type_friendly"`
}
type Data struct {
Disabled bool `json:"disabled"`
Assigned Assigned `json:"assigned"`
}
type Response struct {
Status bool `json:"status"`
Data Data `json:"data"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.