0 1 00:00:08,340 --> 00:00:10,950 So next we're going to install objection. 1 2 00:00:11,070 --> 00:00:14,130 This tool will be used for dynamic analysis. 2 3 00:00:14,130 --> 00:00:21,580 So just google objection Android and the first result you find is objection.OK. 3 4 00:00:21,620 --> 00:00:23,390 Some basic information. 4 5 00:00:23,630 --> 00:00:26,900 It's a runtime mobile exploration tool kit. 5 6 00:00:26,900 --> 00:00:28,890 It's an extremely useful tool. 6 7 00:00:29,150 --> 00:00:33,300 But if you go to the installation page have a look at the prerequisites. 7 8 00:00:33,350 --> 00:00:40,860 So for example Python you have to have python version three point four or greater Pip 3 has to be version 8 9 00:00:40,860 --> 00:00:43,050 nine point 0 or greater. 9 10 00:00:43,050 --> 00:00:46,000 So make sure you have these installed. 10 11 00:00:46,040 --> 00:00:50,390 Another thing you should make sure you have zipalign installed. 11 12 00:00:50,510 --> 00:00:53,720 Otherwise you might receive some errors during installation. 12 13 00:00:53,720 --> 00:00:59,220 So let's just run sudo APT install zipalign. 13 14 00:00:59,420 --> 00:01:02,400 Here it is already installed now. 14 15 00:01:02,400 --> 00:01:05,490 Objection uses apktool in the background. 15 16 00:01:05,670 --> 00:01:14,090 If you remember before we installed apktool using APT get let's actually remove apk tool and 16 17 00:01:14,090 --> 00:01:22,810 install the latest version so sudo Apt get remove apktool. 17 18 00:01:22,960 --> 00:01:28,380 The one we installed was actually an older version and you may receive errors when running objection. 18 19 00:01:28,840 --> 00:01:36,370 Anyway this is a good exercise to show you how to upgrade apktool if needed so just google apk 19 20 00:01:36,390 --> 00:01:40,380 tool installation go to their page. 20 21 00:01:40,380 --> 00:01:44,140 There are different versions for Windows Linux and Mac OS. 21 22 00:01:44,370 --> 00:01:46,090 Follow their instructions. 22 23 00:01:46,350 --> 00:01:49,230 So first step is to download the script. 23 24 00:01:49,230 --> 00:01:51,490 Save this as a tool. 24 25 00:01:51,600 --> 00:01:54,950 Then download the APKtool .jar. 25 26 00:01:55,350 --> 00:01:57,630 Just find the latest version from here. 26 27 00:01:59,040 --> 00:02:01,350 One thing we need to do is rename that. 27 28 00:02:01,620 --> 00:02:04,750 So we just name it apktool without any version 28 29 00:02:04,740 --> 00:02:05,980 number. 29 30 00:02:06,060 --> 00:02:06,430 OK. 30 31 00:02:06,430 --> 00:02:08,140 Saved. 31 32 00:02:08,340 --> 00:02:10,860 Give it some time to download. 32 33 00:02:10,970 --> 00:02:15,740 OK so now we have apktool downloaded. 33 34 00:02:15,740 --> 00:02:18,230 We need to make them executable. 34 35 00:02:18,230 --> 00:02:32,370 "chmod +x APKtool", " chmod +x APKtool.jar" now just move these files to user slash local 35 36 00:02:32,370 --> 00:02:37,520 slash been let's just go to user local bin. 36 37 00:02:37,720 --> 00:02:45,630 We will see our apktool files so that's where we can run our apktool from now you can add this to 37 38 00:02:45,630 --> 00:02:48,720 your environment variables. OK. 38 39 00:02:48,780 --> 00:02:54,250 Apktool is installed another tool you will need is jarsigner. 39 40 00:02:54,620 --> 00:03:01,100 So make sure you have JDK installed in your system and also make sure that there's an environment variable 40 41 00:03:01,100 --> 00:03:02,020 pointing towards it. 41 42 00:03:03,000 --> 00:03:09,990 In our case it's downloaded in users slash locals and if we go in this folder we can see jarsigner 42 43 00:03:10,110 --> 00:03:16,610 is available to see if you have jarsigner or just type jarsigner. 43 44 00:03:16,610 --> 00:03:20,940 OK now with all these tools installed you should be able to install and run. 44 45 00:03:20,950 --> 00:03:22,350 Objection. 45 46 00:03:22,390 --> 00:03:27,430 We thought we would show you a few prerequisites that can cause errors if they are not properly configured 46 47 00:03:29,250 --> 00:03:35,260 and finally you can install by using Pip 3 install -u. 47 48 00:03:35,310 --> 00:03:39,660 Objection. 48 49 00:03:39,740 --> 00:03:43,960 It is important to have all the environment variables set. 49 50 00:03:44,150 --> 00:03:51,020 Make sure to have the following tools configured in your system with the path directories configured 50 51 00:03:51,080 --> 00:03:53,130 according to your application paths.