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-b9f4589650da
unstable
HD Moore 2009-07-25 03:47:30 +00:00
parent 2902a47d6d
commit c146ee3e0f
1 changed files with 1 additions and 1 deletions

View File

@ -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