Hello everyone and welcome to the last few of whole section 11 taking
it to the next level. Alright, in this video. I'm
going to talk about prescribing you with some basic things about it,
the last video. So that's means that it's going
to end. I wrote series to hell with the upgrade. Keep
learning. Don't forget to practice all the time. Use
many sources, the course has books.
And try to actually practice all. I'd say that again because
very important you learn by practicing
tried to make
your resume for yourself. Then you do project small projects.
And that's it. Yeah, let's go.
I don't talk about Finance grouping. Now. We can partner skipping. Why
we needed the same as a show? Stripping. I was
crying the year. Let's go that. All
right, so I'll always remember Sheen and you can use
your cow Linux as well.
First of all, I'm going to make a directory
called.
Tighten Crypts. I'm going to set it to it.
Crabs.
Actually going to make a new file called
first. Got spy. So
for the shuttle scary was essential and for python is
a pie. First. I'm
going to done is to add the shipping line.
Don't forget, you're showing lines, very important. All
right, the note fingers
in Python. We have so many
things. But before we do anything,
after Shabbat line is that we
should add library to do stuff. So
it shrinks in the programming. For example, they
have out there and library in the batter scraping didn't there's
not many library because although we do is Bash
scripting The Bash shell, and the
Come in. But in Python in many other languages, you
try the library on a job in 12. So
for example, the things that usually we
want to use in this description for
any Maps or the things that we want to run encounter. The comment
is import.
OS. We import the libraries with peace
command called import, and then the library
can also always go
to the
Go and find them whereas you need or
try to find out. If you want to do something special and
specific charge find a library you need, sometimes you
cannot run the screw without adding
down Library. Actually, for example, if
you want to run the command and me up. First group, we need to add
the Importer was first group. So in
that case, I'm going to work if we do not add them 40s.
All right. Peyton.
Library.
Right.
What actually can say patch libraries for
room a portico hacking or anything that
you we should do it?
All right. We have the first player.
So you can use it freely actual, see what's happening here.
So we have a project description here. The python addition
map is applied to the library which helped us in using
it. And my port scanner is only to. Usually when you
pull them, is nmap, scan result and will be
a perfect turtle versus time. Researchers who want
atomized scanning tasks and reported also
support and Mouse King outward. So
how did the limited the latest version
of the library?
this is not all I'm, you
can say, HD clone or
Based on Yelp and destruction to use, maybe the
commons is different and also during installation and
prepare Style.
And usage and answer. Here's an example of
it. For example, as you can see here, you zimba import and
then map. So as I said, we use import to
import the library here.
And then try to set
a variable color n m and saved
for nmap or scanner, and then good IP
by default and port. And
then, here we go.
As you can see, all the results here.
There's a many many things that you can find in
libraries or if image of
poor condition of the sting.
There you go.
Right top five petal a for producers. Very
nice. Actually. All the target. We see this one point on
a map. But in this great panel can provide
the MLB because it can do
it differently. If you have color index or a system have
all the installed and my wanted to
say you didn't kind of, you can just run it in a simple script after
importing it all this Library.
The first thing you need to learn is how to ask user something. For
example, we're going to type IP address.
Another.
Convert.
And ask is her right?
Target IP.
Numbers.
They're actually asking him to type
IP address of the target.
So this is how we ask something from user impatient pageantry
actually.
And then, for example, to see how this works, let's print we
use print command to you.
Prince, something in the bedroom.
All right, but just gonna forget about printers
for now. So this is how you can print something here. But
now, the most important things I want to tell you. Also,
you can use a comment and add
some color and wheat around us and actually
type of thing.
Birch and map. Come
on, so,
How to use common date and actual
music you to comment in partial programming. So,
this is how you use over his Stat system.
And actually sales and Man dash capital
T for a
and the IP address.
That's it. So what
if if you don't want to okay,
this is how it works when you use us.just. Mm
and Mad Dash t for you actually winning.
Execute is going to show you on a terminal. So what's happened? Let's see
some example, for example, I don't want
to use enough for now. I'm just going to say it was stash
a to just run a quick comment and
see what's happened.
Alright, as you can see strong, the eldest, a shell comment.
So sometimes you don't want
to show the comment section when you use this.
While you it's going to actually show
the result of it. So, what happen if
you want to do? Not show the result at all to
the user.
In as a OS, doesn't pee or open.
So when it's run and I'm going to show the user so you can actually put
in a while ago. So also first
of all, when you run something here, can set it
for that.
Some other very well here and then
do something with the variable. So you can say while true.
What is while we sending someone is
accusing here? That says, well, something is true
or something is Falls. Do something else.
For example, if the
common was true or if the Commodores do more simple figures
that say, they were all true.
And then so too and print something.
And then if you don't want to, when
you want to break the while and cut this
Loop, you're going to type something break and
then we'll Loop in the break. We
have the if Loop here as well.
the thing that,
If comment.
Why does?
Nicole or not a cold. Something Dan can
do something print.
Type.
Sorry, I'm said, IP address because
with bigger value to a software user nuts from
Marvel with a whistle.
I,
Hank.
and says after that and
say else after if we have else is
going to say if something had happened, good rails, and
I just actually executed so actually
we can
Move this.
To here.
Actually forget, don't forget to.
Organize it because not going to work. So we're
gonna say that if diapers was a cola not because
it's something they can just behave
yourself. Print, something like top and IP because
the user do not type a pee and then says else
the user type right IP or in the
right format cell else command or
subsystem actually can make that execution
that says, make sure that the user type
iip and number
Not just some nonsense words. We
have some very content and string called
s TR or it stands for a
string and ain't and season for
using four numbers.
I was training actually use for.
Worse or anything or a number. The
more get that in actual setup. Make sure
that user with using Y or 40 actually
provide for to. We have something called far
as well. They can use it the while loop when
you having a while here, while
true.
Same here.
A while, true.
Don't forget actually do this. Sorry. All
right, we need to have this at
the end of coming. All right? While
true, we have a four year.
To music and something else
in while loop.
All right.
Well, sorry the pirate map is
a python Library which help is in using nmap supports
scanners and make a job, easy. The
well, then my partner is all to is reliable. The
meaning of scan results and will be perfect to for system
administrators who want to itemize scanning cascara, Birds.
Thanks for watching North to Revere and hope
you doing the best in your journey, in your field
and always keep learning.
Try to keep her up doing well and
always practice. Good luck. I hope to see you again.