diff --git a/backdoored/output/Readme.md b/backdoored/output/Readme.md deleted file mode 100644 index 0629ead..0000000 --- a/backdoored/output/Readme.md +++ /dev/null @@ -1 +0,0 @@ -backdoor bactory working folder diff --git a/fatrat b/fatrat old mode 100755 new mode 100644 index 65b3cce..48aee89 --- a/fatrat +++ b/fatrat @@ -27,14 +27,30 @@ BlueF='\e[1;34m' #Biru RESET="\033[00m" #normal orange='\e[38;5;166m' +#Accurate method to detect user Distro +lnx="Linux" +lsb_release -i > temp/distro.tmp +lsb_release -c > temp/codename.tmp +rlname=`awk '{print $2}' temp/codename.tmp` +dist=`awk '{print $3}' temp/distro.tmp` +dist1=`awk '{print $4}' temp/distro.tmp` +rm -f temp/codename.tmp >/dev/null +rm -f temp/distro.tmp >/dev/null +if [ "$dist" == "$lnx" ]; +then +dist0=$dist1 +else +dist0=$dist +fi + #SAMARAN TAMPAN path=`pwd` Versi=1.9.2 codename=Whistle OS=`uname` # -distro="$(awk -F '=' '/^ID=/ {print $2}' /etc/os-release 2>&-)" -disrov="$(awk -F '=' '/^VERSION_ID=/ {print $2}' /etc/os-release 2>&-)" +distro=$dist0 +disrov=$rlname SERVICE=service; apkembed='tools/apkembed.rb' # exec script path pwned='python tools/pw_exec.py' @@ -133,7 +149,7 @@ cat << ! resize -s 33 84 > /dev/null clear -#cek config +#check config if [ -f "$file" ] then @@ -190,6 +206,7 @@ if [ $(id -u) != "0" ]; then sleep 2 echo [✔]::[Check User]: $USER ; echo [✔]::[Distro]: $distro ; + echo [✔]::[Release]: $rlname ; sleep 1 echo [x]::[not root]: you need to be [root] to run this script.; echo "" @@ -202,6 +219,7 @@ else echo [!]::[Check Dependencies]: ; sleep 1 echo [✔]::[Distro]: $distro ; + echo [✔]::[Release]: $rlname ; echo [✔]::[Check User]: $USER ; diff --git a/setup.sh b/setup.sh index 3d39b22..b9e63b1 100644 --- a/setup.sh +++ b/setup.sh @@ -197,14 +197,14 @@ fi which ruby > /dev/null 2>&1 if [ "$?" -eq "0" ]; then echo -e $green "[ ✔ ] Ruby..............................[ found ]" -which upx >> $log 2>&1 +which ruby >> $log 2>&1 sleep 2 else echo -e $red "[ X ] Ruby -> not found " echo -e $yellow "[ ! ] Installing Ruby " xterm -T "☣ INSTALL Ruby ☣" -geometry 100x30 -e "sudo apt-get install ruby -y" echo -e $green "[ ✔ ] Done installing ...." -which upx >> $log 2>&1 +which ruby >> $log 2>&1 sleep 2 fi