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
Visual Basic 2008 Port Scanner + Source Code.avi
Visual Basic 2008 Port Scanner + Source Code.avi

Code: Imports System.Net.Sockets Timer1: TextBox1.Text += 1 Try Dim Range As TcpClient = New TcpClient("127.0.0.1", TextBox1.Text) If Range.Connected = True Then ListBox1.Items.Add(TextBox1.Text & " is Open") End If Catch ex As Exception ListBox1.Items.Add(TextBox1.Text & " is Closed") ListBox1.SelectedIndex = ListBox1.SelectedIndex + 1 End Try
Video Length: 06:40
Uploaded By: hacks1001
View Count: 23,485

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

Download Advanced IP Scanner easily from a Virus-free source through this link: http://goo.gl/jPIfrP This software is completely free to use. We tested several programs in this category, checked numerous user reviews to finally find the best ones. We found Advanced IP Scanner to be one of the best ones in its category. The download link is always up-to-date, offering you the best possible version of the given software. Please, bear in mind that the 'best version" doesn't ...
Video Length: 01:54
Uploaded By: PC SoftwarePedia
View Count: 17,540

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

Kali Linux - Port Scan - Zenmap - Nmap - Port Scanner
Video Length: 02:07
Uploaded By: Lim Jet Wee
View Count: 12,709

SuperScan Network Scanner
SuperScan Network Scanner

Download: http://bit.ly/cuvypg Visit http://gammofreeware.wordpress.com/ for more free software SuperScan4 is one of the most powerful free TCP port scanners available to date. It contains lots of useful networking tools like ping, trace route, WHOIS and many others. Multi-threaded and asynchronous techniques are used, which ensures fast scans. Ping scans, port sca ns, are just a few of the scans you are able to carry out, using any IP-range you desire. Others built in ...
Video Length: 01:42
Uploaded By: landdrain
View Count: 8,786

Advanced Port Scanner
Advanced Port Scanner

Advance prt scanner fully described. How ti use advance port scanner.
Video Length: 04:38
Uploaded By: Abhishek sharma
View Count: 7,989

ReidSoft Port Scanner
ReidSoft Port Scanner

Free Download: http://reidsoft.altervista.org
Video Length: 01:13
Uploaded By: ReidSoft
View Count: 2,398

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

http://www.secpoint.com/Multi-Threade... free threaded TCP Syn and connect port scanner advanced features download now. CLICK HERE ►► https://www.secpoint.com Be sure to subscribe to SecPoint's YouTube channel, watch some of the previous videos and Playlists, and look us up on Facebook, Twitter, and Instagram. Email: info@secpoint.com Youtube: https://www.YouTube.com/user/SecPoint Facebook: https://www.Facebook.com/SecPoint Twitter: ...
Video Length: 03:58
Uploaded By: SecPoint
View Count: 1,989

Nmap Port Scanner
Nmap Port Scanner

Nmap is a free port scanner written and maintained by Fyodor. It is a must-have tool for any penetration tester. Nmap comes with Kali Linux. Be sure to subscribe for more videos! www.inkthat.us hr / bClosed Caption:/b good were the most commonly used an extremely effective command line tools used for port scanning and service and numeration to see the various uses %uh in maps can take in map into the command linebr ...
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

Welcome to NetCat tutorial for Windows part 2. In this tutorial we will see how NetCat can be used to scan for open ports on a remote system. The software scans the remote system very quickly and provides reconnaissance details. Please feel free to ask questions and leave comments. hr / bClosed Caption:/b font color="#CCCCCC"welcome to netcat tutorial part 2 in/font this tutorial we will use netcat as a font color="#E5E5E5"super-fast port scanner this ...
Video Length: 02:27
Uploaded By: Jenko022
View Count: 1,311

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

For more FREE test tools please visit our website http://bit.ly/FOdynI The Server test verifies the availability and measures the response time of any TCP/UDP based web service connected to the Internet. Server tests include HTTP, HTTPS, FTP, SMTP, POP3, IMAP, SSH, Telnet, DNS and Custom services.
Video Length: 02:18
Uploaded By: WebSitePulse
View Count: 1,032

Copyright © 2025, Ivertech. All rights reserved.