So next we're going to install objection. 1
This tool will be used for dynamic analysis. 2
So just google objection Android and the first result you find is objection.OK. 3
Some basic information. 4
It's a runtime mobile exploration tool kit. 5
It's an extremely useful tool. 6
But if you go to the installation page have a look at the prerequisites. 7
So for example Python you have to have python version three point four or greater Pip 3 has to be version 8
nine point 0 or greater. 9
So make sure you have these installed. 10
Another thing you should make sure you have zipalign installed. 11
Otherwise you might receive some errors during installation. 12
So let's just run sudo APT install zipalign. 13
Here it is already installed now. 14
Objection uses apktool in the background. 15
If you remember before we installed apktool using APT get let's actually remove apk tool and 16
install the latest version so sudo Apt get remove apktool. 17
The one we installed was actually an older version and you may receive errors when running objection. 18
Anyway this is a good exercise to show you how to upgrade apktool if needed so just google apk 19
tool installation go to their page. 20
There are different versions for Windows Linux and Mac OS. 21
Follow their instructions. 22
So first step is to download the script. 23
Save this as a tool. 24
Then download the APKtool .jar. 25
Just find the latest version from here. 26
One thing we need to do is rename that. 27
So we just name it apktool without any version 28
number. 29
OK. 30
Saved. 31
Give it some time to download. 32
OK so now we have apktool downloaded. 33
We need to make them executable. 34
"chmod +x APKtool", " chmod +x APKtool.jar" now just move these files to user slash local 35
slash been let's just go to user local bin. 36
We will see our apktool files so that's where we can run our apktool from now you can add this to 37
your environment variables. OK. 38
Apktool is installed another tool you will need is jarsigner. 39
So make sure you have JDK installed in your system and also make sure that there's an environment variable 40
pointing towards it. 41
In our case it's downloaded in users slash locals and if we go in this folder we can see jarsigner 42
is available to see if you have jarsigner or just type jarsigner. 43
OK now with all these tools installed you should be able to install and run. 44
Objection. 45
We thought we would show you a few prerequisites that can cause errors if they are not properly configured 46
and finally you can install by using Pip 3 install -u. 47
Objection. 48
It is important to have all the environment variables set. 49
Make sure to have the following tools configured in your system with the path directories configured 50
according to your application paths.