Prefer to_s over || ''
Oops, I wasn't thinking clearly. to_s is cleaner.GSoC/Meterpreter_Web_Console
parent
0a9e48af74
commit
c875f66154
|
@ -219,7 +219,7 @@ class MetasploitModule < Msf::Auxiliary
|
|||
|
||||
1.upto(leak_count) do |count|
|
||||
vprint_status("Leaking heartbeat response ##{count}")
|
||||
bleeded << (bleed || '')
|
||||
bleeded << bleed.to_s
|
||||
end
|
||||
|
||||
loot_and_report(bleeded)
|
||||
|
|
Loading…
Reference in New Issue