Fix to dividie by zero issue in scannenr progress method
parent
7ddd173b40
commit
9d343ea1c1
|
@ -39,7 +39,7 @@ def run
|
|||
@show_percent = datastore['ShowProgressPercent'].to_i
|
||||
|
||||
ar = Rex::Socket::RangeWalker.new(datastore['RHOSTS'])
|
||||
@range_count = ar.length
|
||||
@range_count = ar.length || 0
|
||||
@range_done = 0
|
||||
@range_percent = 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue