bin/ssh_scan in ssh_scan-0.0.7 vs bin/ssh_scan in ssh_scan-0.0.8
- old
+ new
@@ -12,15 +12,15 @@
:port => 22,
:policy => File.expand_path("../../policies/mozilla_modern.yml", __FILE__),
:unit_test => false
}
opt_parser = OptionParser.new do |opts|
- opts.banner = "ssh_scan v#{SSHScan::VERSION} (https://github.com/claudijd/ssh_scan)\n\n" +
+ opts.banner = "ssh_scan v#{SSHScan::VERSION} (https://github.com/mozilla/ssh_scan)\n\n" +
"Usage: ssh_scan [options]"
opts.on("-t", "--target [IP/Hostname]",
- "IP/Hostname") do |ip|
+ "IP/Hostname (IPv4/IPv6/FQDNs)") do |ip|
options[:target] = ip
end
opts.on("-p", "--port [PORT]",
"Port (Default: 22)") do |port|
@@ -46,9 +46,10 @@
opts.on_tail("-h", "--help", "Show this message") do
puts opts
puts "\nExamples:"
puts "\n ssh_scan -t 192.168.1.1"
puts " ssh_scan -t server.example.com"
+ puts " ssh_scan -t ::1"
puts " ssh_scan -t 192.168.1.1 -p 22222"
puts " ssh_scan -t 192.168.1.1 -P custom_policy.yml"
puts " ssh_scan -t 192.168.1.1 --unit-test -P custom_policy.yml"
puts ""
exit