-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b80911b
commit 95b0531
Showing
10 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Update | ||
|
||
The **update** command is used to check whether a new htb-cli update is available. No options are required. | ||
|
||
```bash | ||
htb-cli update | ||
``` | ||
|
||
![Update](/assets/commands/update/update.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Version | ||
|
||
The version used by **htb-cli** can be retrieved via the **version command**. No options are required. | ||
|
||
```bash | ||
htb-cli version | ||
``` | ||
|
||
![Version](/assets/commands/version/version.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,53 @@ | ||
# VPN | ||
|
||
The **vpn** command lets you manage VPNs to connect to HackTheBox machines. | ||
|
||
## Download VPNs | ||
|
||
The `-d` or `--download` flag **downloads all VPNs** assigned to the user. | ||
The **VPN configuration files** will be downloaded to the following folder: `~/.local/htb-cli/` | ||
|
||
```bash | ||
htb-cli vpn --download | ||
``` | ||
|
||
![Download](/assets/commands/vpn/download.png) | ||
|
||
## List assigned VPNs | ||
|
||
The VPNs assigned can be listed with the `--list` flag. | ||
|
||
```bash | ||
htb-cli vpn --list | ||
``` | ||
|
||
![List](/assets/commands/vpn/list.png) | ||
|
||
|
||
## Starting a VPN | ||
|
||
A VPN can be started with the `--start` flag. | ||
The **mode** must be specified with the `-m` flag from the following list: | ||
|
||
* labs | ||
* sp | ||
* fortresses | ||
* prolabs | ||
* endgames | ||
* competitive | ||
|
||
```bash | ||
htb-cli vpn -m labs --start | ||
``` | ||
|
||
![Start](/assets/commands/vpn/start.png) | ||
|
||
## Stop the VPN | ||
|
||
We can also stop the active VPN with the `--stop` flag. | ||
|
||
```bash | ||
htb-cli vpn --stop | ||
``` | ||
|
||
![Stop](/assets/commands/vpn/stop.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters