forked from h4ck3r0/Apktool-kalilinux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapktool.sh
61 lines (50 loc) · 2.63 KB
/
apktool.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/system/bin/sh
echo -e "\e[36m************-----------++++---------************"
echo -e "\e[1;34m [✓] \e[35m \e[1m --- Apktool \e[91m version-2.6.1 \e[0m"
echo -e " \e[36m \e[1m --- by \e[1;34m Raj Aryan \e[0m"
echo -e "\e[32m \e[1m --- @h4ck3r0 \e[33m"
echo "************-----------++++---------************"
echo -e " \e[1;34m[*] \e[32m Installing packages....\e[96m"
sudo apt install wget
echo -e "\e[1;34m[*] \e[4mexporting apktool_version=2.7.0"
echo
echo -e "\e[96m-------++++wait for downloading++++------- \e[95m"
export apktool_version=2.7.0
sudo -E sh -c 'wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_$apktool_version.jar -O /usr/local/bin/apktool.jar'
echo
echo -e "\e[1;34m[+] \e[32mplease be patient \e[34m"
echo
echo -e "\e[1;34m[✓] \e[91m (file saved to usr/local/bin)"
echo
echo
sudo chmod +r /usr/local/bin/apktool.jar
sudo sh -c 'wget https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool -O /usr/local/bin/apktool'
echo -e "\e[96m"
sudo chmod +x /usr/local/bin/apktool
sudo apt install -y default-jdk
sudo apt install default-jre
clear
echo -e "\e[1m-----------------🅻🅸🅺🅴 🅰🅽🅳 🆂🆄🅱🆂🅲🆁🅸🅱🅴 🆄🆂------------------"
echo -e "\e[96m+--------------------------------------*\e[0m"
echo -e "\e[1;96m Raj Aryan : \e[1;95m Apktool Version2.7.0"
echo -e "\e[1;91m Type Apktool to run\e[0m"
echo " Apktool v2.6.1 - a tool for reengineering Android apk files"
echo -e " usage: apktool \e[96m"
echo "-advance,--advanced prints advance information."
echo " -version,--version prints the version then exits"
echo "usage: apktool if|install-framework [options] <framework.apk>"
echo " -p,--frame-path <dir> Stores framework files into <dir>."
echo " -t,--tag <tag> Tag frameworks using <tag>."
echo "usage: apktool d[ecode] [options] <file_apk>"
echo " -f,--force Force delete destination directory."
echo " -o,--output <dir> The name of folder that gets written. Default is apk.out"
echo " -p,--frame-path <dir> Uses framework files located in <dir>."
echo " -r,--no-res Do not decode resources."
echo " -s,--no-src Do not decode sources."
echo " -t,--frame-tag <tag> Uses framework files tagged by <tag>."
echo "usage: apktool b[uild] [options] <app_path>"
echo " -f,--force-all Skip changes detection and build all files."
echo " -o,--output <dir> The name of apk that gets written. Default is dist/name.apk"
echo " -p,--frame-path <dir> Uses framework files located in <dir>."
echo "don't forget to subscribe"
echo -e "\e[92m+--------------------------------------*"