Skip to content

Commit 05dd3fa

Browse files
committed
rport, not datastore['RPORT']
1 parent 121ebdf commit 05dd3fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/auxiliary/udp_scanner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def rport
176176

177177
# Called for each IP in the batch. This will send all necessary probes.
178178
def scan_host(ip)
179-
scanner_send(@probe, ip, datastore['RPORT'])
179+
scanner_send(@probe, ip, rport)
180180
end
181181

182182
# Called for each response packet

0 commit comments

Comments
 (0)