File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ def run
97
97
end
98
98
99
99
end
100
- a . map { |x | x . join }
101
100
end
101
+ a . map { |x | x . join }
102
102
end
103
103
rescue Rex ::TimeoutError , Rex ::Post ::Meterpreter ::RequestError
104
104
rescue ::Exception => e
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ def arp_scan(cidr,threads)
64
64
end
65
65
66
66
while ( not iplst . nil? and not iplst . empty? )
67
+ a = [ ]
67
68
1 . upto ( threads ) do
68
69
a << framework . threads . spawn ( "Module(#{ self . refname } )" , false , iplst . shift ) do |ip_text |
69
70
next if ip_text . nil?
@@ -79,8 +80,8 @@ def arp_scan(cidr,threads)
79
80
report_note ( :host => ip_text , :type => "mac_oui" , :data => company )
80
81
end
81
82
end
82
- a . map { |x | x . join }
83
83
end
84
+ a . map { |x | x . join }
84
85
end
85
86
return found
86
87
end
You can’t perform that action at this time.
0 commit comments