regen payload after updating req.id, fixes #2341
git-svn-id: file:///home/svn/framework3/trunk@10042 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
0955e804df
commit
056711e186
|
@ -341,10 +341,10 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
# Reuse our Racket object
|
# Reuse our Racket object
|
||||||
n.l4.src_port = 53
|
n.l4.src_port = 53
|
||||||
n.l4.dst_port = sport.to_i
|
n.l4.dst_port = sport.to_i
|
||||||
n.l4.payload = req.encode
|
|
||||||
|
|
||||||
xidbase.upto(xidbase+numxids-1) do |id|
|
xidbase.upto(xidbase+numxids-1) do |id|
|
||||||
req.id = id
|
req.id = id
|
||||||
|
n.l4.payload = req.encode
|
||||||
barbs.each do |barb|
|
barbs.each do |barb|
|
||||||
n.l3.src_ip = barb[:addr].to_s
|
n.l3.src_ip = barb[:addr].to_s
|
||||||
n.l4.fix!(n.l3.src_ip, n.l3.dst_ip)
|
n.l4.fix!(n.l3.src_ip, n.l3.dst_ip)
|
||||||
|
|
|
@ -332,10 +332,10 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
# Reuse our Racket object
|
# Reuse our Racket object
|
||||||
n.l4.src_port = 53
|
n.l4.src_port = 53
|
||||||
n.l4.dst_port = sport.to_i
|
n.l4.dst_port = sport.to_i
|
||||||
n.l4.payload = req.encode
|
|
||||||
|
|
||||||
xidbase.upto(xidbase+numxids-1) do |id|
|
xidbase.upto(xidbase+numxids-1) do |id|
|
||||||
req.id = id
|
req.id = id
|
||||||
|
n.l4.payload = req.encode
|
||||||
barbs.each do |barb|
|
barbs.each do |barb|
|
||||||
n.l3.src_ip = barb[:addr].to_s
|
n.l3.src_ip = barb[:addr].to_s
|
||||||
n.l4.fix!(n.l3.src_ip, n.l3.dst_ip)
|
n.l4.fix!(n.l3.src_ip, n.l3.dst_ip)
|
||||||
|
|
Loading…
Reference in New Issue