[+] Create setproxy()
This commit is contained in:
@@ -75,6 +75,17 @@ color() {
|
||||
echo $tmp
|
||||
}
|
||||
|
||||
# Set proxy
|
||||
setproxy() {
|
||||
addr=${1:-127.0.0.1}
|
||||
port=${2:-7890}
|
||||
full="$addr:$port"
|
||||
export https_proxy="http://$full"
|
||||
export http_proxy="http://$full"
|
||||
export all_proxy="socks5://$full"
|
||||
color "&aUsing proxy! $full&r"
|
||||
}
|
||||
|
||||
# Cut videos - cut <file name> <end time> [start time (default 00:00:00)]
|
||||
cut() {
|
||||
if [ "$#" -lt 2 ]; then
|
||||
|
||||
Reference in New Issue
Block a user