Unlock the power of Kali Linux for Ethical Hackers with this complete course designed for beginners and aspiring professionals. 🚀 Whether you’re new to ethical hacking or looking to sharpen your penetration testing skills, this course will guide you step-by-step through real-world hacking techniques and cyber security practices.
00:00 Introduction to the Course 00:26 Lab Setup (Virtual Machines & Targets)
--- John the Ripper --- 03:29:55 Introduction to John the Ripper 03:30:53 Installing & Using John 03:33:15 Cracking Modes Explained 03:37:20 Cracking ZIP Passwords
--- Other Tools & Attacks --- 03:40:10 ZAP Proxy Basics 03:44:03 Social Engineering Toolkit (SEToolkit) 03:46:22 WiFi Hacking – How WiFi Works 03:47:57 WiFi Security Protocols 03:51:01 How Hackers Attack WiFi
--- Post-Exploitation & Wrap Up --- 03:55:06 Data Recovery & Post-Exploitation Techniques 03:58:12 Course Recap & Next Steps 04:00:00 Final Words – Becoming an Ethical Hacker
🔐 What You’ll Learn:
Kali Linux installation, setup & essential commands
Master top Kali Linux tools: Metasploit, Burp Suite, Nmap, Hydra, SQLMap, John the Ripper & more
Perform password hacking, WiFi hacking, and brute-force attacks ethically
Conduct penetration testing on Linux & Windows targets
Automate exploits, analyze vulnerabilities, and secure systems
Hands-on projects with 80+ labs and exercises
💡 This is the ultimate ethical hacking course — a Kali Linux guide covering everything from beginner tutorials to advanced cyber security. If you’ve ever searched for:
“Kali Linux for beginners”
“Learn ethical hacking”
“Kali Linux hacking tutorials”
“How to hack ethically”
👉 Then this course is for you!
📚 Start your journey into cyber security today and become a skilled ethical hacker with Kali Linux.
✅ Best For:
Beginners who want to learn hacking step by step
IT & security professionals mastering Kali Linux hacking tutorials
Anyone interested in ethical hacking full course style training
🔥 Subscribe to allgoodtutorials for more Kali Linux tutorials, ethical hacking tutorials, and cyber security courses. Level up your Cybersecurity skills! Join our free tier for in-depth development courses, real-world projects, expert guidance, exclusive resources, and certificates of completion. Start building your future now! 👉 https://allgoodtutorials-shop.fourthwall.com/supporters/pricing
Welcome to this course on mastering Kal
Linux vertical hackers. What you can
expect to learn. This course is crafted
specifically for beginners who have
recently installed Kali Linux but not
yet familiar with executing Linux
commands. Our goal is to guide you
through the essential Linux fundamentals
starting from basic concepts and
advancing to more complex topics.
Additionally, the advanced sections of
this course will explore a range of
Linux tools essential for ethical
hacking activities. So guys, we'll see
you in the course.
Hey guys, in this video I will cover
some basic commands of Linux. Let's
explore some fundamental
commands. Okay, the first command we
have is pwd. pwd command will show you
your present working directory. So for
me, my present working directory is home
and kali. It's displaying me
home/cali. That's my present working
directory. So if I want to display the
files and folder inside this directory,
I need to use ls command. So guys, hope
you know what is a directory. Directory
is a folder. Okay. So here it's showing
me the directories and the files. Okay.
And if I want to move inside this
desktop directory, I need to use cd
command. CD command is used for changing
the directory. Like if I want to change
my directory to desktop, I can use cd
command cd and the directory name. So if
I will check my present working
directory. My present working directory
is home kali and forward/ desktop. Okay.
So think I'm inside this desktop
directory. If I list files and folder
inside this desktop directory, I need to
use ls command. LS command can list
files and folder inside this directory.
Okay. So as we can see there is no files
and folders present inside this
directory. So it's not showing anything.
Right? So let's see how we can create
directory. For creating directory you
can use mkdr command mkdr and the
directory name. Let's say directory name
is d1. So that's going to create a
directory with name d1. Okay. If I list
files and folder using a less command.
Now it's showing me d1. Right? So d1 is
a directory. And if I want to remove
this directory I need to use rmdr
command. rmd d1. So that will remove the
directory. So how we can make the
directory? For making the directory, we
need to use MKDR command. And for moving
the directory, we need to use RMDR
command. Okay. So let's move to the next
command. Next command is for making the
file. So if you want to make any file
like f1.txt, you can use touch command.
Touch command very useful for making the
file with zero byte size. Okay. So here
it has created this file using the touch
command. Okay. If I want to write any
content in it, I can use leaf pad text
editor. Leaf pad file 1 dot txt and I
can write any text in that like this uh
this is file.txt. All right. So now
let's see how we can delete this file.
Okay. First it using this command. So
it's displaying me file
1.xt. So for removing this file we can
use rm command. Rm file 1.xt txt that
will remove this file. Okay. So if I
list if I list here using a list so it's
not displaying many files and folders
right. So using rm command we can remove
the files. Okay. So let's think you have
written something in file 1.txt. Okay.
Like this is file 1.xt and you have
saved it using
controls. Now just make one more file.
Okay. And I'm making one more
file file
2.xt. Now if I list here, it's
displaying me file 1.txt and file 22.xt.
Right? If I want to copy the content of
file one to the file 2.txt, I can use cp
command. cp command is useful when I
want to copy the content of file 1.xt to
the file 2.txt. So before copying the
content, I will display you what is
inside the file
1.txt. So we check the file.txt txt
using cat command. So it's displaying us
this is file 1.txt. Right? So let's
check the content of file
2.txt. Okay. Is it displaying us
something? It's not displaying us
anything because in file 2.txt we'll
write any content. Right? Whereas in
file 1.xt we wrote this is file 1.xt. So
let's copy the content of file 1.xt to
the file 2.xt using cp command. cp file
1.xt. txt to the file 2.xt. Here you'll
have to mention the path. As we are in
the same directory, so there is no need
to mention the path. We can directly
write the file name. Okay. So this is
going to copy the content of you know
the file 1.xt to the file 2.txt. So if I
check the content of file 2.txt now, so
it is having the content. This is file
1.xt. So using copy command, we can copy
the content of one file to the another
file. Okay.
And using CAD command we can display the
content of the file. Okay. So let's move
to the next command. We have one more
editor like leaf pad. We have nano
editor. Nano is a text editor. So let's
I will make one file f1.txt. I'll write
something in that. This is f1. txt.
Okay. And uh if I want to save it, I
need to control I need to click on
control s and then y and then um not
it's control x then y then hit enter.
that's going to save your file. Okay. So
using nano command we can nano is a text
editor and we can write something into
the file 1.xt and even it is useful for
making the file. Okay. So if I want to
display the content of txt what command
I can use the cat command. Right. Okay.
So let's move to the next command. Next
command is move command. MV command.
Okay. If I list here my files and
folders inside this desktop directory. I
can use ls command. Okay. If I want to
move the content of f1.txt to the file
totxt. So I can use mv command. MV
command works like cut and paste. Okay.
When you you know when you cut the file
and you paste it in some other
destination or paste in another path, it
works the same. Okay. We'll write mv and
then dot txt. Then file 2.xt. Here you
just have to mention the path. Okay. as
we are in the same directory. So no need
to mention the path. We can directly
mention the name. Okay. So that's going
to move the content of f1.txt to the
file 2.xt. So let's hit enter and let's
again check ls. So here we can see that
f1.txt is not there right and uh as it
moved to the file 2.xt. Let's check the
content of file 2.xt using
command. Here can you see guys the
content which was present inside f1.xt
now it is inside the file 2.x.t. So
using using MB command we can move the
content of one file to the other file.
Okay. Now the next command is man
command. If you want to check the manual
page of any command like if I want to
check the manual page of ls command I
can type man and ls that's going to show
me the manual page of ls command. So ls
command is list directory content and if
you want to get from here you can use q
q option. Okay. So if I press q that
will get from that page. Okay. So the
next command we have let's check the
manual page of man. Okay. If I want to
check the manual page of man command I
can use man and man that will display me
the manual page of this man command. All
right. So let's open the terminal and
we'll explore more
commands. So the next command if you
want to check the host name of this
machine. Okay. Just type host name. That
will display you the host name. Like in
my case my host name is Kali. All right.
And next command if you want to check
the name you can type your name that
will display the name. Your name is
Kali. Your name is Linux. Right. So now
the next command is we have is if we
want to download something from the
internet. Okay. Like if I want to
download
uh let's go to
NROG. If I want to download NROG, I'll
go to NGROG and download. Right.
And here I'll click on
Linux and we'll choose the version like
X 8664 and here just click right just
click on that and then right click and
then copy link. Okay, if I want to
download it from terminal I can use wget
get command. W get command useful when
you when you want to download the
content from the internet. Okay, so
that's going to download the ngro from
the internet.
All right, as you can see, it has
downloaded the MGRO from the internet.
Uh, so I'm removing it, okay, using rm -
rf command. So means I'm removing it
forcefully. Okay, so if I want to
download using another command, I can
use curl command to download the ngro.
Okay, so so ngrock, you know, you can
download using wget command and the curl
command. Okay, so let's copy the link.
Copy link. Not only antio anything from
the internet you just have to copy the
link and use object get command or the
curl command. So it's showing something
binary output can mess up your terminal
use output to tell uh so let's
use do use of the option not here um
output new dotzip okay so it's started
downloading right as you can see it has
downloaded this ngrock and it made it
created a zip file new zip That's it for
this video. We'll see more commands in
the next
video. Now we'll see the chmody command
in Linux. The chmody command in Linux is
used to change the permission of file or
directory. It allows you to control who
can read, write or execute a file. So
the basic syntax of chmod is first you
have to write chmod and here you have to
specify the options. Okay, options are
addition settings and then the
permissions what permission you want to
give like retried or execute and then
the file name. Okay, it can be file or
the directory you want to change the
permission. Okay, so let's see how we
can use it. Let's create a directory
using mkdr chmod 1. Okay, and then we'll
understand what how we can use chmod
command and let's move to this directory
chmod 1. Okay, now we are inside chmod
1, right? So let's make a file here
using uh using leaf pad. Okay, leafpad
file 1.exe. We'll write something in
that. Uh this is a private
file. Okay, I will save it. Then let's
check the permission for this file. LS
minus using ls minus la command. Okay,
so to this
file ls minus la and then mention the
file name. File name is file.txt. Okay.
So here we can see uh this dash means it
is a file. If it's showing us the d then
d means the directory. So let me create
a directory then I'll show you what I
mean by that. So if I type here ls minus
l and d1. So it is showing me d. So d
means the directory. So this directory
is having this permission read, write
and execute. R means read, write and x
mean execute. Okay. This RX is for owner
and the next read write execute. This is
dash means no permission. Okay. So that
is for the group and the next is for
this r dash and x is for group and r - x
is for others. Okay. So we'll see that
how we can change the permission for
group owner or for others. How we can
change it using chmod command. Okay.
Hope you got what is d and what is dash.
Here D means the directory. Whereas this
dash means it is a file. Okay. So the
owner is having the permission to read
the file, write the file and the owner
doesn't have the permission to execute
the file. Okay. But the others they are
having the permission just to read the
file. They don't have the permission to
write the content in that. Now we'll see
how we can change the permission of this
file
1.xt. So type chmod. Let's again type ls
minus la file 1.txt. Here we can see
readr permission is for the owner.
Right? So let's try to execute this file
using dot/file
1.txt. So it's showing us uh no such
file or directory. Right? Uh because it
is file 1.txt. So it is showing us
permission denied. Why it is showing us
permission denied? As I told you because
the owner doesn't have the permission to
execute this file. Okay. So if I give
the permission for the file execution
using chmod command chmod then mention
you. Okay. U means we are giving the
permission to the order. Okay you and
the permission that you want to give
like I'm giving the permission to
execute the file. So for that I'm giving
plus x and the file name. File name is
f1.txt. So let's set the permission
using ls minus la command. So now it's
showing us rx for that is for owner.
Right? Now if you try to execute this
file it is showing us this file txt one
this not found. So let's let's check
what we wrote in that file 1.xt. This is
just this is a private file. Okay. So
let's change it to something else. Let's
u write a bas script in that eco. And uh
we'll print the statement using eco
command. Print this statement using eco.
Okay. When we will execute this file,
it's going to print this statement.
We'll save it. And now I will execute
file
1.txt. Now it is printing this is file
1.xt. Right? So if I check the
permission of file 1.xt, it is having
the permission for the execution. So
like this you can change the file
permission using chmody command. Now if
you want to check the permission of
file.txt, we can use the command ls
minus l and file 2.xt that will show us
the permission for file 2.xt. So we can
see read write and this dash means there
is no permission for execution of this
file right. So if I want to give the
execute permission using chmod just type
chmod and uh for the owner I need to
give u + x and the file name file name
is file 2.txt. So that will change the
permission to execute that we can
execute this file. If I check it using
ls minus la that's showing me rx for the
owner right. So same if we want to give
it for group we need to mention ls minus
we need to mention chmod g for group
plus if I'm giving write and execute
permission to the group I need to type
wnx and next is the file name file name
as
f2.txt so that's going to give the read
write and execute permission to the
file.txt txt and if I check it using a
less minus length that's showing me for
owner and for the group they are having
all the permission like read write and
execute but for others they don't have
write and execute permission so let's
give them this write and execute
permission so if you want to give write
and execute permission to the others
just
type O plus WX that's going to give read
and write permission read and execute
not read and write Write and execute
permission to the file 2.xt. Okay. So if
you want to give write and execute
permission to the file 2.xt, we can use
this command. Okay. O plus that will
give permission to file 2.xt. Okay. For
writing and
executing. If we check it now using ls
minus l f2.xt we can see uh the owner
the group the others they all are having
the read, write and execute permission.
And now if I want to remove the
permission. Okay. So let's let's write
something in this file. Yes. I'm writing
like file
1.xt. Uh this is file 1.txt.
Okay. And if I check the permission of
the file
1.txt here we can see the file 1.xt is
having the permission to for reading and
for writing. So if I check it using CAD
command. If I read the file using CAD
command. So it's showing me it is
playing me this is f1.txt. But if I
remove this read permission from this
file 1.txt, how can I do that? I need to
mention write the command ch and I'm
removing this permission from the owner.
So if you are removing the permission
from the owner, just type u minus and
read. Okay, so that will remove the read
permission from file 1.txt. If I try to
read this file.txt, it's showing me
permission denied. Hope you got it. how
you can add the permission and how you
can remove the permission from the
file. So if you guys want to give full
permission to the owner and the group
and to the others, you can use this
command chmod u plus rwx and just
mention the file name that's going to
give all the permission to this file.xt.
Okay. Now let's we'll see what is chmody
calculator. Okay. So here using CHMO
calculator you can calculate the
permission Linux permissions like if I
want to give the read permission to the
owner I can mention this number 400 and
I I need to mention the file name okay
let's check how we can use this so like
if I want to give the just the read
permission to 51.txt txt first we can
see uh we have all permission right we
have full permission to the owner to the
group and to the other users right now
let's see how we can u by number how we
can change the permission so if I want
to give just read permission using the
numbers okay I need to type
chmod and the number is 400 400 means we
are just giving the read permission to
the owner okay so if I write chmod 400
51.xt that's going to give just read
permission to f1.xt. So if I check the
permission for f1.txt so it's displaying
me that this read permission for this
file.xt right. So using this chmody
calculator you can change the permission
like if you want to give if you are
writing this number 440 it means you are
giving read permission for the owner and
to the group but not to the public.
Okay. But if you are writing 44, it
means you are giving the read permission
to the owner, to the group and to the
public. Okay. But if I want to give all
the permissions, then I can use this
number 777. That means I'm giving full
permission to uh to all the entities.
Okay. CMOD and 777 and then file
1.ext. Okay. That's going to give the
full permission to the owner to the
groups and to the public. So we can see
Rwx for the owner, RWX for the group and
read, write, execute for the public.
Okay, let us calculator for reading the
file the value is four and for writing
it the value is two. Okay, and for
executing it the value is one. Okay,
it's total seven. If you're mentioning
777 and the file name means you are
giving all the permissions. Okay. So,
hope you guys got what is chod and how
you can use chmod for giving the
permission or for changing the
permission for the
file. Guys, now let's explore more
commands of Linux. If you want to make a
zip file of this f1.txt, just type zip
and f1 do.zip and just mention the file
name that you want to zip. Okay, so
that's going to zip the file f1.txt and
that will create f1.zip file. If I check
using this command, you can see it has
created f.zip file. So now if I want to
unzip it, first let's remove this f.txt
f1.txt using rm command. Okay. So now if
I want to unzip this file, I can use
unzip and then fn.zip. So that will
extract all the files from f1.zip file.
Okay. So you can see it has extracted
this f1.txt from f1.zip. So using zip
command we can make a zip file and using
unzip command we can extract all the
files from the zip file. Now if I want
to display the information about
processes how can I display that? So
first uh if you want to clear the screen
you can write clear command. Clear
command will clear this entire screen.
Okay or you can uh click on control plus
that will also clear the entire screen.
Now if I want to display the information
about processes I can type just write
the command ps that will display
information about processes. Okay. And
if I want to kill any process I need to
type kill and just mention the process
ID. P ID. Okay. So here the P ID is 15
23 that will kill this
process. So the next command we have is
DF. DF command will display information
about disk space users. So as you can
see it's showing me the file system and
the blocks used in that 1k blocks uh
used available space. Okay. So that's
going to show you the information about
disk space uses. Okay. So let's create
one file. We'll create one file uh using
leaf pad like file 1.xt and we'll write
something into it. 1 2 3 4 5 6 7 8 9 10.
Okay. 11
12 I'm writing here 13 14
15 from 1 to 15 I've written in this
file dot
51.txt now if I want to display the
first 10 numbers in the file.txt I can
use the command head and just write the
file name file name is file 1.txt that's
going to display me uh the first 10
lines of this file.txt txt. Okay, the
head command will display the first 10
lines of this 51.txt. So if I want to
display the last 10 lines, then I can
use tail command. Tail command will
display me the last 10 lines of this
51.xt. Okay. But if I want to display
only first five lines, then I can write
head minus 5 or - 5 file 1.txt that will
display me first five lines of this
file.xt. Here you just have to mention
the number how many lines you want to
display. Like if I want to display first
15 lines, I can write minus 15 that will
display me - 15 total 15 lines. Okay.
And if I want to display last five
lines, I can write tail - 5 and the file
name that will display me last five
lines of
file.exe. Now next command we have is
eco. If you want to make a text file
using eco command, you can make it using
eco and this greater than sign and just
write the file name. So that's the
syntax of creating the file using eco
command. So if I type ls, so we can see
it has created f2.txt.
So guys, if you want to print
something on the terminal, you can use
eco command that can even print
something on the terminal. Okay. So if
you want to write some text inside this
file, we just have to mention eco and
then there's double
braces and greater than sign and the
name of the file. So here we can see
name of the file is
f2.xt. Okay. So if we check the content
of f2.xt txt we can see the content
inside of txt cell. So using eco command
you can write into something in the file
and you can create a file right. So next
command we have is date. If you want to
check your current date you can use date
command that will display you the
current
date. Now next command is if you want to
check the calendar you can use cl
command. CL command will display you the
calendar. Okay. And if you want to see
all the history of all the commands, you
can use history command. History command
will display you the history of the
commands. Okay. And now if you want to
check for a file, if you want to find
any file, you can use find
command. So let's use this then this
directory home and we'll try to find f1.
Okay. So we can see there are lots of
file f_sub_1. So in find command you can
find any directory or you can find a
file. Now let's see how we can search
for a specific pattern in file. So we
can use grab command for searching for a
specific pattern inside the file. So if
I list here the files here we can see
f2.txt is present inside this scrap
directory. And if I want to check the
content inside this f2.xt I can use cat
command that will display me the content
which is present inside this f2.xt. So
here I can see in the f2.xt txt it is
having hello hi aa and something else
right so if I want to search for hi
inside this f2.txt then I can use f2.txt
txt and then this pipe sign and this
right grab and hi that's going to filter
this high inside this.xt. So if you're
looking for any pattern inside any file
you can use the graph command.
Okay now let's see more commands of
Linux. If you want to add groups okay or
if you want to add users inside Linux
then you can type user ad and the
username you need to write. So let's add
a user hacker inside this Linux. So here
you can see that it's showing us
permission denied because we are not a
root user. Okay. So let's write sudo
that will give you permission to add
this hacker user. So we can see that it
has added this hacker user. So if you
want to look that uh the user hacker is
added or not you can see it in etc past
WD that will display you that hiker is
added inside the Linux.
Okay. Now if you want to make a group
you can make it using
group group add and just write the group
name. So I'm writing here hikers group.
Okay, that's going to create a group
hackers group. So here we can see again
it's showing us permission denied. So I
again I need to write um sudo and then
group add hackers group. So that will
make a group hackers group. So if I
check it
again but here it's going to show it in
etc/ groups not groups it's group. So
you can see it has added hackers group
okay with this G
ID. Okay. So now let's see how we can
switch the user. If you want to switch
the user from this scali to hacker we
can write su and the name. Okay. So that
will switch from this scali to hacker.
So now it's displaying us the
authentication failure. As you can see
we didn't set any password for this
hacker. So let's add a password using
past of duty command. pass WT and add
the password for hacker. So it's showing
us that uh you may not be able modify
password for hacker. So let's use sudo
command again pass wt hacker and now we
can set the password for hacker. Now if
I want to switch the user from kali to
hacker we can write this command as u
and mention the name of the user and
just mention the password. So I can see
we are inside this hacker user right. So
now if I want to exit from here I can
type exit command that will exit from
this
user. Okay. So if I want to display the
files inside this grab
directory what command I can use ls
command. So this command will display me
the files inside this crab directory. If
I want to check the permissions and uh
uh who is the owner and where the file
is present I can use ls minus la command
and just mention the file name. So
that's showing me the joker is the owner
for this
f2.xt and joker is having the permission
to read and write the file. Whereas kali
is a group which is having the
permission like kali you know this group
is having the permission just to read
the file and others they also have the
same
permission. So if we want to change this
user to hacker, we can use ch command
and just write the name of the user and
then mention the file. So that will
change the owner of this file using this
cho command. Okay. So it has changed the
ownership of
f2.xt. No, it it is showing us operation
autopometered. So again we need to use
sudo command sudo ch1 hacker and f2.xt.
txt that's going to change the ownership
of
f2.xt. So we check it again. So that's
displaying us. Now the owner is the
hacker and this file is present inside
this kali group.
Right? So now if we want to
install any files if we want to install
any packages inside this kali Linux for
that we can use a command. APD command
can install packages like if I want to
install
neopet. So now it's showing me that
permission denied. So let's being a root
user. If you want to become a root user,
this dollarer this this dollar means you
are just a normal user. But if you want
to become a root user, just use sudo su.
So you will become the root user. Okay.
Now if we want to install something like
new of we can install it using a install
new. So it is playing us that it is
already installed. Okay. So if we type
this new
fetch that is displaying the system
information. Okay let's type it
again. So that displaying the OS host
name kernel the up time all these things
are displaying us using new command. So
if I want to display the system up time
there is a command that we can use
command is up time. So that will display
me the system uh from how long the
system is been running. Okay. And who is
running the system if I want to check
then for that I can use who command.
Okay. So here it's displaying Kali and
the time it's displaying me.
So the next command we have is finger
command. If finger is not installed in
your operating system then just install
it using
a install finger. That will install this
finger tool. Okay. So as it is already
installed in my system I will type
finger and the username. Okay. So that's
the syntax for this finger tool. So that
will display me the information of this
joker user. So it's showing me joker
login joker directory is this one and
never logged in. Okay. So if I want to
display the information of hacker user I
can type finger and the username is
hacker. So it's showing never logged in
no mail no plan. Okay. So using this
finger we can inspect the user. Next
command we have is what is. If you want
to check a short description of any
command, you can use what is command.
Like if I want to see the short short
description of ls command, I can use ls
command. What is and the command. Okay,
that will display me the short
description of this ls command. So ls
command is useful for listing
directories directory
contents. Next command we have is figlet
command. If you want to display the text
banner, you can use
figlet and just write the name that you
want to see as a banner. So it is
displaying me hello as a banner. So
using figlet command you can display the
text as a
banner. Next command we have is a
update. If you want to update your
system, you can use a update
command. Okay. APD update command is
useful for updating the system. It will
refresh the packages in your
system. Now it's taking time. So let's
move to the next command. Next command
we have is a
upgrade. So type AP
upgrade. AP upgrade command will upgrade
the packages to the latest version.
Okay. So it is going to take some time.
So let's open another terminal. I will
check another command. So guys, here is
one more command PC command. That's for
calculating the
numbers. So that's a calculator basic
calculator. Like if I want to calculate
1 and 1 and 2, 1 + 2, it's showing
displaying me three. Okay. So if you
want to do any basic calculation, you
can use BC command.
And now if you want to install any tool
or if you want to clone any repository
from GitHub, you can use get clone
command. So let's move to GitHub and
we'll install a tool that is Mr. Face
tool. So if I want to install this MRF
tool, I can use get clone
command. Okay. So let's see how we can
install
it. It's taking time to load.
So just click on this code and then this
copy icon and then open your terminal
and then you need to type get clone and
then paste the URL that will install the
M
of now if you want to shut down this
operating system you can use shutdown
command. Shutdown command will shut down
this operating
system. Okay, shut down and then uh H.
And now that will shut down it.
Oh guys, in this video we'll explore
networking concepts and delve into some
advanced Linux commands. So the first
command we have is if you want to check
your IP address, you can use config
command that's going to show you your IP
address. Okay, that in my case my IP
address is
192.168.174.150. Okay, so using one more
command we can check the IP address. We
have APDR that's going to show you your
IP address. Okay, the next command we
have is ping. Ping command is useful
when you want to check the host is
active or not. For example, I want to
check google.com is active or not. I can
check it using ping
command. Okay. So, it's going to give me
the IP address of the
google.com. So, using ping, we can get
the IP address of the google.com and
even it can show the host is active or
not. So, to display the root packets to
reach a destination, we can use trace
root and just type here the domain name.
That's going to show you how you are
reaching the goal.com. So here in the
router one we are getting the response
whereas in the second third fourth we
are not getting kind of response. So in
the trace route output this aster
typically represent packets that have
timed out or were lost during the trace
route process. Each asterric indicates a
failed attempt to receive a response
from a router along the route to the
destination. So when you run a trace
route the tool sends a series of packets
to the destination and each router along
the way is expected to send back an ICMP
packet. Okay. ICMP reply. due to various
reasons such as network congestion,
firewall rules or router configuration.
Not all routers may response to the
trace root request. Okay. So the next
command we have is ARP scan ARP
scan and hyphen L. So that's going to
scan for devices on the local area
network using
ARP. It's not scan, it's scan. So the
devices which is present inside your
local area network that's going to show
you all the IP addresses of your local
area network. Okay, like inside this
network two devices are connected uh
like one is this one and the second one
is metasloit tableable. So if I want to
check that this command gave me the IP
address of metasloitable machine or not
I can check it using fconig. So you can
see that uh I got the IP address of this
metasloable machine which is connected
to the same network right
19168.174.146. So using ARP scan l we
can get the IP addresses of the devices
which is connected to the same network.
Now the next command we have is net
discover. Okay. So what the net discover
command can do. So the net discover
command it discovers the host on the
local network sending ARP request. So
same we will get the IP address of the
metasloitable machine using this net
discover command. Okay. So if you want
to get the IP addresses of the machines
that are connected to your network, you
can get it using either ERP scan or
using get discover. Okay. So here we can
see the result of this command. Here we
got the IP address of the meta
exploitable machine which is
192.168.174.146. So we can see these two
machines are connected to the same
network that we call a local area
network. So if you want to get the IP
addresses of the local area network, you
can use net discover command or you can
use ARP scan. Okay. So here we can see
it is currently it is scanning but we'll
stop the process. Now there is one more
tool that can do the same. You can
perform a network scan on the specific
IP range using N map. So unmap is a tool
that can perform this kind of scan.
Okay. So just write the IP 192 168. So
if you want to check IP addresses it's
192 168.174. So let's take these three
byte as network bits and the one bite as
the host. Okay. So how we can do that?
We can use a command nap 192
168 174. Okay. And it's going to start
from zero because we want to scan 256
host. Okay. So we use forward/24.
Forward/24 means it is taking us these
three by as network bits and other as
host bits.
Okay. So as we can see it has scanned
the network with 256 host. So it has
started with
192168.14.1. Okay. And uh here we got
the IP address of this metasical machine
and here we got what are the ports which
are open. Right.
So using N map ARP scan and then
discover you can get the IP address of
the machine which is connected to your
network. Hope you guys got
it. So we'll cover more commands in the
next
video. Let's explore more commands of
Linux. So here we have Hydra tool. Hydra
is a tool for cracking the password. So
let's crack the password of this
machineable machine. Now we can see the
IP address is
192168.174.146. All right. So you need
to mention the username. Username is MSF
admin and just mention the password list
and then this FTP colon/ the IP address.
Okay. Then just hit enter. That's going
to crack the password for this
metasloitable machine. We can see if we
log using MSF admin MSF admin then we
can get into the metasloitable machine.
Okay. So using hydra tool you can crack
the password. Next command we have is
DNS enum. DNS enum is command for
gathering the information regarding the
domain name. Okay. So let's gather
information about this domain name. Test
PHP one web. Okay. Just write uh just
type this command DNS now and just copy
this domain name. Okay. And just hit
enter. So that's going
to show the information regarding the
domain name. So here is showing that uh
ns record query failed. So let's try on
some other domain name. Okay, let's try
it on
www.hacker.com. So you can see some
information regarding host addresses.
All right, the IP addresses we are
getting and uh and record query field.
So let's explore more commands. Next
command we have is DNS record. It's also
called gathering the information
regarding the domain name. So let's use
test php
again. So it's showing us we need to
mention hyphen d and then type the
domain name and let's hit enter. It's
again it's showing something could not
resolve
domain. Okay. So let's take just uh test
php
oneb.com. Now we are getting some
information regarding it. It's saying
DNS is not configured for test php.
oneweb.com and uh test
php.web.com they're showing the IP
address for this and more information
regarding this
DNS. Okay, so if it is not configured,
it means the person can do DNS poisoning
attack on this website.
Okay guys, if you're looking for an
exploit, you have the version of
operating system and you are trying to
search for an exploit. So the command is
search like if I'm looking for Apach 2.2
2.4 4 exploit. I can search search
Apache 2.4. So that's going to show me
all the exploit present for this Apache
2.4. Okay. So using this command you can
search for exploit. The next command we
have is Nikto. Nikto is a web server
scanner that will show you all the
vulnerabilities by scanning this domain.
Okay, this website. So now it's showing
us multiple IP found.
Okay guys, next command we have is CWL.
CWL can generate custom word list based
on the website content. So I'm
generating the word list based on this
test php.1 web. Okay. So that's going to
generate the word list based on this
website.
Okay, it's taking time. So let's move to
the next terminal. So we have one more
tool that's C toolkit. It's a social
engineering toolkit that you can use to
perform social engineering. If you want
to open it, type the command C
toolkit sudo C C
toolkit and type the password that's
going to open this social engineering
toolkit. As we can see, it has generated
the word list.txt. If we want to check
it, we can check it using cat command.
CAT word.txt. That's going to display
you all the words and these all the
words are related to that website. Okay,
so that's all for this video. We'll see
you in the next video.