Upload files to "/"

This commit is contained in:
2023-11-23 19:51:38 +01:00
commit ba6c7944b6

14
chtunn.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
if [ $1 = '-h' ]
then
echo "Utility per tunnel SOCKS5 su Chromium"
exit 12
fi
if [ $# -ne 1 ]
then
echo "utilizzo: chtunn <SOCKS5 PORT[1234-65535]>"
echo "esempio: ssh user@server.mio -D 1234; /usr/bin/chtunn 1234"
exit 1
fi
`/usr/bin/chromium --proxy-server="socks5://127.0.0.1:$1" --host-resolver-rules="MAP * ~NOTFOUND, EXCLUDE 127.0.0.1" --user-data-dir=google-chrome-$1 %U > /dev/null 1> /dev/null 2> /dev/null &`