‫Instructor: Hi, within this lecture,
‫we're going to install JADX and Apktool into our Kali Linux.
‫So it's a different a procedure for Kali Linux and MAC OS.
‫So we're going to have separate lectures for both of those.
‫So if you're running Mac OS, you can skip this lecture,
‫and go to the following one.
‫And if you are on Windows, you can just watch this.
‫And if you're on Linux as well,
‫you can just watch this to install Apktool,
‫and JADX on your Kali Linux.
‫So make sure you open your GitHub pages
‫for Apktool and JADX.
‫And over here,
‫you will see the install instructions of Apktool.
‫Of course, I'm going to show you how
‫to do all of this stuff,
‫but you're going to see exactly what you need
‫to do in this instructions as well.
‫For example, over here it says that you have to download
‫a script and a tool and then make sure they're connected
‫to each other and just run them.
‫But in fact, there is also another easier way
‫to install this tool as well.
‫So let me copy this and let me open my terminal,
‫and show it to you.
‫So first of all, I'm going to change my keyboard settings,
‫since I have a Turkish keyboard.
‫Of course, you don't have to do that.
‫Okay?
‫So after that,
‫remember how we install tools on our Kali Linux?
‫We use apt-get install.
‫So what is concealed on that web page
‫is that actually Apktool has a repository on Kali as well.
‫So if you can just run apt-get install apktool like this,
‫it will ask you if you really wanna use this.
‫And I will say, "Yes."
‫And that's it actually.
‫You can install Apktool just like this.
‫And of course, there are other methods.
‫There are other instructions on the web page,
‫and you can try that as well if it doesn't work out for you.
‫But most of the time it will.
‫You can just download the Apktool from Kali repositories,
‫and just start using them.
‫Okay?
‫So if you cannot install it on your own,
‫and if apt-get install doesn't work,
‫if you can't understand what to do over here,
‫just make sure you watch the next lecture
‫where we will install Apktool on our Mac OS.
‫And it's the same procedure that is described over here.
‫Okay?
‫But rather than doing that on Mac OS,
‫you can do the same thing on Kali Linux as well.
‫But on Kali Linux, it's pretty easy.
‫So make sure you run the apt-get install apktool first,
‫and only if it fails, then go back to the website,
‫and try to just follow the instructions over there.
‫Once I do that, if I run Apktool like this,
‫I can see the help documentation as you can see.
‫The parameters, the commands that we can use with Apktool.
‫So it's cool.
‫Now, we are done with Apktool, okay?
‫And the next tool is, you know,
‫it's the JADX that we are going to have
‫to install this as well.
‫And this is the reason why we are installing,
‫why we are using Kali Linux in the first place,
‫because it doesn't work with Windows right now.
‫So we're gonna have to install this
‫on our Kali Linux as well.
‫So I'm going to try apt-get install jadx,
‫just like in Apktool.
‫Okay?
‫It doesn't say in the documentation,
‫but if you try apt-get install jadx,
‫you will see it's already embedded
‫in your repositories as well.
‫So it's pretty easy to install JADX in Kali Linux,
‫as you can see.
‫And after that, of course, if it doesn't work out for you,
‫you can just go back to documentation,
‫and try to install JADX in a way
‫that is instructed in the GitHub page.
‫But again, this works.
‫You can get the JADX from repositories like this.
‫And that's it.
‫After I'm done, after this is done,
‫you can try to run JADX.
‫Okay?
‫Like this.
‫And see for yourself that it works.
‫It says that, "Please specify input file."
‫So we don't have an input file yet,
‫so let me try to run jadx --help to see the documentation.
‫And as you can see,
‫JADX is now recognized as a command,
‫and it means that it's working.
‫So we have the Apktool, we have the JADX,
‫we have all what we need for Android reverse engineering
‫in Kali Linux.
‫Now, as you can see, it says that JDK 8,
‫or higher must be installed.
‫So luckily, JDK also comes pre-installed with Kali Linux.
‫And as you can see,
‫if you want to manually install this on Kali Linux,
‫all you have to do is just run this three commands,
‫but it's already embedded in repository.
‫So why not install with apt-get install jadx?
‫Okay, so that's it.
‫That's how you install JADX and Apktool on your Kali Linux.
‫Now, it's time to go to the Mac OS installation,
‫and if you're not using Mac OS,
‫you can just skip the following lecture.
‫Because right after that, we are going to start looking
‫for our first reverse engineering experience,
‫and create our first app.
‫So let's stop here,
‫and continue within the next one.