Fix to correct the IP TTL of all raw modules - these were defaulting to 0. Reported by Job Kibler

git-svn-id: file:///home/svn/framework3/trunk@7397 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-11-07 03:17:19 +00:00
parent 1d5f1e5f69
commit 2075377fc8
5 changed files with 6 additions and 0 deletions

View File

@ -171,6 +171,7 @@ class Metasploit3 < Msf::Auxiliary
n.l3.dst_ip = dhost n.l3.dst_ip = dhost
n.l3.protocol = 0x6 n.l3.protocol = 0x6
n.l3.id = rand(0x10000) n.l3.id = rand(0x10000)
n.l3.ttl = 255
n.l4 = Racket::TCP.new n.l4 = Racket::TCP.new
n.l4.src_port = sport n.l4.src_port = sport

View File

@ -113,6 +113,7 @@ class Metasploit3 < Msf::Auxiliary
n.l3.dst_ip = dhost n.l3.dst_ip = dhost
n.l3.protocol = 0x6 n.l3.protocol = 0x6
n.l3.id = rand(0x10000) n.l3.id = rand(0x10000)
n.l3.ttl = 255
n.l4 = Racket::TCP.new n.l4 = Racket::TCP.new
n.l4.src_port = sport n.l4.src_port = sport

View File

@ -114,6 +114,7 @@ class Metasploit3 < Msf::Auxiliary
n.l3.dst_ip = dhost n.l3.dst_ip = dhost
n.l3.protocol = 0x6 n.l3.protocol = 0x6
n.l3.id = rand(0x10000) n.l3.id = rand(0x10000)
n.l3.ttl = 255
n.l4 = Racket::TCP.new n.l4 = Racket::TCP.new
n.l4.src_port = sport n.l4.src_port = sport

View File

@ -113,6 +113,7 @@ class Metasploit3 < Msf::Auxiliary
n.l3.dst_ip = dhost n.l3.dst_ip = dhost
n.l3.protocol = 0x6 n.l3.protocol = 0x6
n.l3.id = rand(0x10000) n.l3.id = rand(0x10000)
n.l3.ttl = 255
n.l4 = Racket::TCP.new n.l4 = Racket::TCP.new
n.l4.src_port = sport n.l4.src_port = sport

View File

@ -60,6 +60,7 @@ class Metasploit3 < Msf::Auxiliary
n.l3.dst_ip = dst n.l3.dst_ip = dst
n.l3.protocol = 0x6 n.l3.protocol = 0x6
n.l3.id = rand(0x10000) n.l3.id = rand(0x10000)
n.l3.ttl = 255
n.l4 = Racket::TCP.new n.l4 = Racket::TCP.new
n.l4.src_port = datastore['CPORT'].to_i n.l4.src_port = datastore['CPORT'].to_i
@ -80,6 +81,7 @@ class Metasploit3 < Msf::Auxiliary
n.l3.dst_ip = dst n.l3.dst_ip = dst
n.l3.protocol = 0x1 n.l3.protocol = 0x1
n.l3.id = rand(0x10000) n.l3.id = rand(0x10000)
n.l3.ttl = 255
n.l4 = Racket::ICMP.new n.l4 = Racket::ICMP.new
n.l4.type = 8 n.l4.type = 8