added quick wg gen

This commit is contained in:
Phil 2022-11-27 22:32:52 +00:00
parent 648368e2ad
commit 0a71b36e8b

View File

@ -296,6 +296,9 @@ alias phpshell='wget https://raw.githubusercontent.com/pentestmonkey/php-reverse
alias reverse-shell-gen-start='docker start a2f132aa528a; open http://localhost:3321'
alias reverse-shell-gen-stop='docker stop a2f132aa528a'
# WG quick gen
alias wg-gen="wg genkey | sudo tee ~/wg/"$1"-priv | wg pubkey | sudo tee ~/wg/"$1"-pub"
# Wireguard - TheHomeTunnel
alias thehometunnel-up="sudo wg-quick up TheHomeTunnel"
alias thehometunnel-down="sudo wg-quick down TheHomeTunnel"