connect is a script created for more praticy in connect to our CTF VPN files.
Usage: connect -h
Short Form | Longer Form | Description |
---|---|---|
-h | --htb | Connect to HackTheBox VPN |
-s | --start | Connect to StartPointHTB VPN |
-t | --thm | Connect to TryHackMe VPN |
-r | --release-arena | Connect to ReleaseArenaHTB VPN |
-R | --reset-vpn | Remove a configuration file and reset it to connect to a new VPN file |
-v | --version | Display the version of your connect file |
-help | --help | Display a message help |
After have you passed the path of VPN file, the script will be executed and don't you need to insert this other times.
git clone https://github.com/DokaTerrorista/connect.git/
chmod +x connect/connect.sh
sudo cp connect/connect.sh /usr/bin/connect
sudo rm -r connect/
- One Line
git clone https://github.com/DokaTerrorista/connect.git/ && chmod +x connect/connect.sh && sudo cp connect/connect.sh /usr/bin/connect && sudo rm -r connect/