How To Create Your Own Port Scanner | Ruby

How To Create Your Own Port Scanner | Ruby


#Source code
#Simple port scanner
require 'socket'
require 'timeout'
print "IP/Address : "
ip = gets.chomp

ports = 19..25 #You can select ports manually, if you wanted to scan ports from 1 to 10 type "1..10"
ports.each do |scan|
begin
Timeout::timeout(10){TCPSocket.new("#{ip}", scan)}
rescue
puts "closed : #{scan}"
else
puts "open : #{scan}"
end
end
#-----------------------------------------
If you have any problems or a question feel free to contact me

This program was written in Ruby
Closed Caption:

democratic imports kantor secret that
you 5 up
me that support but scanner
it open it said you know the right
quotes and the first thing we'll be
doing
will be doing in that will
we had been in some 5 so that's why I
will be tight
require socket require your
timeout up
should be another tutorial guys
mind that and it is creating I'm quit
I'm
writing the code in Krabi so yes
up
up
sheesh here but somebody bad no
crop
up
up
but
up
up
up
so that's it new year party balck at now
will you need to download Ruby
you know to run the program because are
the he expanded on every single computer
yet a few
need have you get this contact me so IP
address
doesn't doesn't doesn't up
dishes the website of my the school that
nice to read before
and Intex it
take about 10 seconds to scan a single
port
to be here let's wait
big so I can't really part the videos
so that's why you should wait and you
can see here is only a stop but I'm arm
this except kept jerking red great
so part 19 is closed part 20
ok closed part anyway open ne2d
open here more
two entries closed
to basically what's happening here is
there program
he just I mean
group receiving sending and receiving
information from the website
in a do that it needs something
a program that it needs some a file that
we have
it correct get to the internet so that's
why we at the first place we
typed in require socket would
and so after it has
quiet socket you know what it need to do
is it's me
it needs to it needs a fire
are up so it and learn it
that way you just so you know there are
eight
that was it and a at me
expand a little to you this means this
have the program to connect to the
internet this in this helps
the program to know that how much
shouldn't wait
so if the party implies on that
10 seconds it in declared the part as
opener
but if the part that on the flights
under 10 seconds
its its known as closed it is to get as
close
that's right and bodies scan from 925
and yet that's
it in this can in sleeper forsaken and
yet thanks guys if you have any problem
with this video you can this contact me
things and bass

Video Length: 05:12
Uploaded By: Cynic limbu
View Count: 1,272

Related Software Products
Free Port Scanner
Free Port Scanner

Published By:
Nsasoft LLC.

Description:
Nsauditor Network Security Auditor is a network security scanner that allows to audit and monitor remote network computers for possible vulnerabilities, checks your network for all potential methods that a hacker might use to attack it. Nsauditor is a complete networking utilities package that includes a wide range of tools for network auditing, scanning, monitoring and more. You can discover network services and check them for vulnerabilities, list all TCP and UDP endpoints with their ...


Related Videos
Advanced IP Scanner - Access PCs in your network, easily - [Free Download]
Advanced IP Scanner - Access PCs in your network, easily - [Free Download]

Video Length: 01:54
Uploaded By: PC SoftwarePedia (11/2/2014)
View Count: 79,338

Visual Basic 2008 Port Scanner + Source Code.avi
Visual Basic 2008 Port Scanner + Source Code.avi

Video Length: 06:40
Uploaded By: hacks1001 (3/18/2010)
View Count: 25,485

Kali Linux - Port Scan - Zenmap - Nmap
Kali Linux - Port Scan - Zenmap - Nmap

Video Length: 02:07
Uploaded By: Lim Jet Wee (11/11/2013)
View Count: 16,411

Advanced Port Scanner
Advanced Port Scanner

Video Length: 04:38
Uploaded By: Abhishek sharma (5/28/2013)
View Count: 13,934

ReidSoft Port Scanner
ReidSoft Port Scanner

Video Length: 01:13
Uploaded By: ReidSoft (2/3/2009)
View Count: 2,748

Free Threaded TCP SYN Port Scanner
Free Threaded TCP SYN Port Scanner

Video Length: 03:58
Uploaded By: SecPoint (11/22/2011)
View Count: 2,194

Nmap Port Scanner
Nmap Port Scanner

Video Length: 03:32
Uploaded By: Ink That! Offensive Security
View Count: 1,625

NetCat for Windows Tutorial 2 - Super Fast Port Scanner
NetCat for Windows Tutorial 2 - Super Fast Port Scanner

Video Length: 02:27
Uploaded By: Jenko022
View Count: 1,311

Free Test Tools - Free Port Scan
Free Test Tools - Free Port Scan

Video Length: 02:18
Uploaded By: WebSitePulse
View Count: 1,032

Copyright © 2026, Ivertech. All rights reserved.