Fix to dividie by zero issue in scannenr progress method

unstable
David Maloney 2012-03-08 11:03:33 -06:00
parent 7ddd173b40
commit 9d343ea1c1
1 changed files with 1 additions and 1 deletions

View File

@ -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