Fix an unpack('S') -- this is host-order specific and should be 'v'
git-svn-id: file:///home/svn/framework3/trunk@6895 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
2902a47d6d
commit
c146ee3e0f
|
@ -225,7 +225,7 @@ module Exploit::Remote::MSSQL
|
|||
end
|
||||
|
||||
def parse_column()
|
||||
len = @data.slice!(0,2).unpack('S')[0]
|
||||
len = @data.slice!(0,2).unpack('v')[0]
|
||||
str = @data.slice!(0,len).unpack('A*')
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue