yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Portscaning Program


3m read
·Nov 3, 2024

Processing might take a few minutes. Refresh later.

Hey guys, this is Mac Head Zone One with a video on how to run a port scan on any computer.

Now, a port scan is something that checks for all the open ports. Like, um, 5900 is a port on the computer that um, VNC runs through normally. So, um, there are two ways to run a port scan on a um, on an IP address to check what ports are open. My favorite is using Network Utility on the Mac.

You can just quick look it or, um, open it up in your Utilities folder in the Applications folder. I'm right here at the top. There's a tab called Port Scan, and you can just type 192.168.1.103 and it'll show you all the open ports pretty fast.

It even tells you what some of them do. Like, 22 it tells you it's SSH and 80 it tells you it's HTTP and, um, so on and so on. But, um, sometimes it feels kind of like this.

Um, basically this is kind of inaccurate and it doesn't scan every port, um, and stuff like that. So, just now, Kids 101 wrote our open source port scanner. Right here it is; you can download it in the description of this video, or, um, you can simply um, download it on our Mac's download page.

Since this is open source, this is actually just a Perl script, so it'll download as a zip file and you unzip it. Here it is, and in order to run this, you can just go into your Terminal application, whatever you use for Terminal, and type Perl space.

Then drag in the um, file unzipped file, and then it'll ask you for an output file. You just want to type um, the name of a file. I'll just do desktop slash file.txt, and the IP address, and I'll just scan this IP. Now, I'll scan my router, and it'll start scanning right here.

It's a console, and when it's done, this file.txt will have all the open ports written right into it. Um, there are… this is open source, but that's in the way that the scan.pl file… I'll just make a copy of it and show it to you.

If you open it with something other than your Terminal application, like um, Vim, and just open it with Vim text editor, um, you will see the source code because it's not compiled at all. It's all open source. If you're opening it with TextEdit, for instance, it will show you the source code.

Through here, if you know enough Perl, you can mess around with the source code a little bit. Um, so that's cool. So, um, that's our open source port scanner, and it looks like um, my router doesn't have that many ports open.

Um, but so now I'll just delete this file. Um, so basically this is our um, our port scanner, our open source port scanner. You will be able to download this on our downloads page, um, as well as get it in the link in the description of this video.

This will scan any port on your network. The cool thing about this is you can put it on your Linux console on your cell phone. Like, if you have an iPhone and you want to put this Perl script on your iPhone, you can do that as well.

So this is a great, um, a great Perl script. So that's our video on how to um, how to port scan someone to check if VNC is open, etc. Um, I will, in the description of this video, have um, a list of different ports and what they do.

Like, Port 22 is SSH, Port 5900 is VNC, Port 21 is FTP, stuff like that. So, I'll also have that in the description of this video.

So thank you for watching Mac Heads On, subscribe, and goodbye!

More Articles

View All
15 Lies You Keep Telling Yourself
This is your Moment of Truth, where you stop fooling yourself and start forging a path to real success. These are 15 lies you keep telling yourself. Welcome to Alux. First up, a true classic: I’ll start tomorrow. Tomorrow is the favorite word of the proc…
Elemental building blocks of biological molecules | Chemistry of life | AP Biology | Khan Academy
What we have here is just a small sample of the types of molecules that you will see in a biological system. At the top left, right over here, you have an example of an amino acid. Amino acids are the building blocks of proteins. If we were to take a look…
This Guy Is Making Furniture and Buildings out of Your Trash | Nat Geo Live
[Arthur] I hate plastic. That’s why we’ve engulfed on a 15 year mission to turn that into something that we actually want. We have collected around 750 new materials that’s coming from our daily post-consumer waste. It can go into any consumer product a…
Peter Lynch: How to Invest During High Inflation
So we just got fresh inflation data a week or two ago and guess what? It showed that yet again the annual inflation rate has risen in the U.S. Inflation is now running at seven percent per year. We know that because of this inflation, Jerome Powell and th…
Top Markets To Look Out For In 2022 | Kevin O'Leary's 2022 Resolutions
You know, it’s that time of the year! Brand new year, lots of hope and excitement, but always the time of year to reflect on what’s just passed and also set up some resolutions. What’s wrong with that? Now for me, let me tell you what I’m doing. Number o…
How Growing Trees Helps Fight Poverty in Cameroon | National Geographic
[Music] Just imagine that you are a farmer in Cameroon. You spend all your life struggling to cultivate cocoa, coffee, and rubber, cutting which you don’t eat. They are called cash crops, and that’s where the problem lies. Big Industry fixes their prices,…