So as we solve how we can install packages
from official repositories of Kali
and other repositories, which are
not by default in the Kali by
giving their path in the sources.list file.
There is one more way to install packages and
tools into your system using GitHub.
Now in case you want to install any tool or
package using GitHub apt command
will not work.
For this we are going to use another command
or a package manager called as get.
Git clone is going to help you download that
specific repo with the package install
it into your system and then you can start using
that tool.
So for example in this lesson, we
are going to use one of the tool. We're going
to clone it and we are going to run it.
So, let's see the practical.
So I want to my Kali Linux
machine and I have opened up my browser. I'm going
to search for a package or a tool that is
not available on the official repo but on
GitHub.
So I'm going to search for this tool which is sublister, which
is a tool written in Python used
for subdomain enumeration.
as you can see over here these
this is the page for sublister here. We can see all
files are present. I'm going to click on code and
I'm going to click here which will copy the
path of the tool.
I'm going to quickly create a directory called as test.
And I'm going to go into that directory.
After I have changed the directory, I'm
going to run the command which is get clone.
And the path or the URL that
we have just copied of that specific package.
And I'm going to hit enter.
As you can see it starts cloning the sublister
and it copies all the required
dependencies or packages in your
system into the specific folder of the
package called as sublister.
Let's navigate into that folder and let's run the
command LS and we can see here. There are
all the required files that needs to be used to
run the specific package.
Sublister dot Pi is the tool name and that can be
run using python command.
So this way you can also install packages or
tools apart from the official repository from
GitHub using get clone.
I hope you guys got an idea how to use
this. Thank you.