We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aa6776 commit 7196ca5Copy full SHA for 7196ca5
modules/post/multi/gather/ping_sweep.rb
@@ -85,9 +85,9 @@ def run
85
a << framework.threads.spawn("Module(#{self.refname})", false, iplst.shift) do |ip_add|
86
next if ip_add.nil?
87
if platform =~ /solaris/i
88
- r = cmd_exec(cmd, "-n #{ip_add} 1")
+ r = cmd_exec(cmd, "-n #{ip_add} 1")
89
else
90
- r = cmd_exec(cmd, count + ip_add)
+ r = cmd_exec(cmd, count + ip_add)
91
end
92
if r =~ /(TTL|Alive)/i
93
print_status "\t#{ip_add} host found"
0 commit comments