Skip to content

Commit cd8b131

Browse files
committed
send data based on input not @Probe
1 parent 3fb00ec commit cd8b131

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
@@ -78,7 +78,7 @@ def scanner_spoof_send(data, ip, port, srcip, num_packets=1)
7878
p.ip_ttl = 255
7979
p.udp_src = (rand((2**16)-1024)+1024).to_i
8080
p.udp_dst = port
81-
p.payload = @probe
81+
p.payload = data
8282
p.recalc
8383
print_status("Sending #{num_packets} packet(s) to #{ip} from #{srcip}")
8484
1.upto(num_packets) do |x|

0 commit comments

Comments
 (0)