-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
to install 11.1 if the latest version did not work properly
- Loading branch information
RadKesvat
committed
Jun 28, 2023
1 parent
2c67c59
commit 1b1cdd0
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
if [ "$EUID" -ne 0 ] | ||
then echo "Please run as root" | ||
exit | ||
fi | ||
# echo nameserver 8.8.8.8 | sudo tee /etc/resolv.conf | ||
|
||
apt-get update -y | ||
|
||
REQUIRED_PKG="unzip" | ||
PKG_OK=$(dpkg-query -W --showformat='${Status}\n' $REQUIRED_PKG|grep "install ok installed") | ||
echo Checking for $REQUIRED_PKG: $PKG_OK | ||
if [ "" = "$PKG_OK" ]; then | ||
echo "Setting up $REQUIRED_PKG." | ||
sudo apt-get --yes install $REQUIRED_PKG | ||
fi | ||
|
||
REQUIRED_PKG="wget" | ||
PKG_OK=$(dpkg-query -W --showformat='${Status}\n' $REQUIRED_PKG|grep "install ok installed") | ||
echo Checking for $REQUIRED_PKG: $PKG_OK | ||
if [ "" = "$PKG_OK" ]; then | ||
echo "Setting up $REQUIRED_PKG." | ||
sudo apt-get --yes install $REQUIRED_PKG | ||
fi | ||
|
||
pkill FTT | ||
printf "\n" | ||
printf "\n" | ||
|
||
|
||
echo "downloading FakeTlsTunnel" | ||
|
||
printf "\n" | ||
|
||
|
||
|
||
wget "https://github.com/radkesvat/FakeTlsTunnel/releases/download/V11.1/v11.1_linux_amd64.zip" -O v11.1_linux_amd64.zip | ||
unzip -o v11.1_linux_amd64.zip | ||
chmod +x FTT | ||
rm v11.1_linux_amd64.zip | ||
|
||
echo "finished." | ||
|
||
printf "\n" |