Hello everybody and welcome back.
Now before we begin with the footprinting lessons, I would like to just show you some of the things
you might want to install
before we begin.
So, the first thing I want you to install is GitHub repository.
Basically, if you do not already have it, you just type here, apt install git. If you encounter this error
just, basically, delete these locks from the path that is specified right here.
So just take this path, copy it, type here the rm command that we covered which stands for remove, then
paste the file.
Now it might ask you to remove other locks as well,
so this one is also here.
We want to remove this one as well, so basically just copy the path and delete it.
Let's just paste and let's see if there is something else.
There is one more lock in the cache which we also want to remove.
So copy the third one, and I believe this one is the last one.
So now that you deleted it, you can install git, which is already installed for me.
You just type here, apt install git. And how do we use git?
Now let me just show you.
You just go here on the Github website.
So, basically, any program that is not pre-installed in Kali Linux you will probably be downloading it
over GitHub. So let's say, for example, I know the name of one program, it is called instashell.
It does not come pre installed in Kali Linux but you can download it from GitHub.
I will show you the command right now.
So basically it is the first one. You can see that the site is GitHub and the path, basically, the path
is but you want to copy.
So let me just enlarge this.
This is the website
and this is the program that I want to download.
It is used for Instagram hacking.
We will be covering it later on.
From now on I just want to show you how to install any program on GitHub. So basically you just find
the program you want to download and you copy the link right here.
And once you copy the link you just go to your terminal.
Let me see just where we are, we are in the /root directory. And if we type here, git clone, which
is basically the start of the command, and then you paste the link, and then just add .git, it will
download the program into our root directory.
So as you can see right here, now we have the full program downloaded.
It is simple as that.
And now you can go to the program and basically use the program.
So, if you do not have git installed, you basically just install it with the command apt install git.
So the next thing I want to show you is, for example, if you want to run a program that is not available
to run as a root user, or doesn't allow you to run as a root user, you might want to add a non-root user,
which is simple. And you just type here the command, adduser, and then basically any name you want.
So let's say we want a user called john. It will ask you some of the questions for the new user which you can
answer correctly or not depending on you.
It will ask you, firstly, for the password which I will set as 1234.
It will ask you to retype the password.
I will retype it as
1234.
And now it will ask for some of the personal information which I will skip.
I will just paste the wrong things, so it doesn't really matter is this information correct.
Just type here,
yes.
And you have a new user. Now in order to add that user into the sudo group, which basically means you
will be able to run these root commands with that user just using the password from root.
So the command for that is usermod -aG sudo
and then the name of the account you created, which in my case is John. And we could basically add John
as a sudo user, and he will be able to execute root commands if he provides the root password.
Now at the rebooting you can basically login into your user account.
But I will just stay here as a root user for now and we will install the next thing you might want to
have, which is tilix. Now tilix is a program which basically allows you to execute multiple commands from
the same terminal.
Now it could be useful if you are running a bunch of commands and you want to see what is going on.
So you just run multiple commands from the same terminal and see the output of all of those commands.
We will install it
just in case, I'm not really sure we will use it, but it is good to have it.
Now this will take a few seconds to install and I believe once it is installed we can run it, basically,
with a single, simple command which is just tilix.
Now, here we go.
Five percent installed.
We will wait for this to finish and we will run it right away, so I can show you how it works. It is basically
the same terminal we have here just, if we want to, we can split it in two parts.
#EthcalHackingCourse #CodingMaster