2026-03-04 11:25:39 +02:00
|
|
|
# network activity related aliases
|
|
|
|
|
|
2026-04-08 13:10:41 +03:00
|
|
|
alias dl='curl -sSLO'
|
|
|
|
|
|
2026-03-04 11:25:39 +02:00
|
|
|
# itty-bitty-siting
|
|
|
|
|
defalias ibs 'cat $* | lzma -9 | base64 -w0 | xargs -0 printf "https://itty.bitty.site/#/%s\n"'
|
|
|
|
|
|
|
|
|
|
# some Tor-related aliases
|
|
|
|
|
|
|
|
|
|
# reset tor circuit for torified programs (requires control port 9051)
|
|
|
|
|
alias tornew='echo -e "AUTHENTICATE \"\"\r\nsignal NEWNYM\r\nQUIT" | nc 127.0.0.1 9051'
|
|
|
|
|
# most efficient downloads via Tor (torify + aria2)
|
|
|
|
|
alias toraria='torsocks aria2c --async-dns=false -x 16 -j 16'
|
|
|
|
|
|
2026-04-11 14:04:26 +03:00
|
|
|
# just a web server
|
2026-03-04 11:25:39 +02:00
|
|
|
alias websrv='python3 -m http.server'
|
2026-04-11 14:04:26 +03:00
|
|
|
|
|
|
|
|
# gsocket-related aliases
|
|
|
|
|
|
2026-04-11 14:13:35 +03:00
|
|
|
alias gsnc='gs-netcat -i -s'
|
2026-04-11 14:04:26 +03:00
|
|
|
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'
|
2026-04-18 09:31:14 +03:00
|
|
|
|
|
|
|
|
# Chawan browser helpers
|
|
|
|
|
|
|
|
|
|
alias bro='cha -o '\''buffer = { scripting="app",cookie="save",meta-refresh="always",styling=true }'\'''
|
|
|
|
|
alias ibro='cha -o '\''display.image-mode="sixel"'\'' -o '\''buffer = { scripting="app",cookie="save",meta-refresh="always",styling=true , images=true }'\'''
|