Skip to content

Commit 457c48b

Browse files
committed
Error on sleep
1 parent 176204d commit 457c48b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/gather/dns_reverse_lookup.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def reverselkp(iprange)
6161
# Basic Throttling
6262
sleep_time = 0.0
6363
if (datastore['THROTTLE'] != 0)
64-
sleep_time = (1.0/datastore['THROTTLE'])/datastore['THREADS']
64+
sleep_time = (1.0/datastore['THROTTLE'])*datastore['THREADS']
6565
print_status("Throttle set to #{datastore['THROTTLE']} queries per seconds")
6666
end
6767
# Output..

0 commit comments

Comments
 (0)