1

Topic: Ruby Port Scanner

Just a lil something i came up with in my spare time. Port scanning with RUBY ruby "prznscan.rb" open up a text editor with vim or nano or your choosing and use these lines of code download all the required’s

require ‘rubygems’
require ‘net/ping’
puts "Enter IP Address to Scan:"
@ipaddress = gets
1.upto(65536)
{
|@x|
if Net::PingTCP.new(@ipaddress,@x)
puts "Response/Port Open #@ipaddress #@x"
else
puts "No Response / Port closed #@ipaddress #@x"
}
exit

2

Re: Ruby Port Scanner

not there ther isnt enough of them already, but nice work ‘n will check

limit exposure to this area and report abnormalities in your life after exposure