Quick Scanner (Host/Port)
Posted by root Sun, 28 Sep 2008 19:09:00 GMT
#!/usr/bin/ruby
host_port = ARGV[0]
host = host_port.split(':').first
port = host_port.split(':').last
puts %x[nmap -p #{port} #{host}]#!/usr/bin/ruby
host, port = ARGV[0].split(':')
puts %x[nmap -p #{port} #{host}]./scan_proxy 202.105.182.87:808