Fix up incompatibility with MaxDataSize (thanks @mubix)

unstable
HD Moore 2012-07-23 13:40:12 -05:00
parent 4efe84c609
commit c25ebabce0
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ module Oui
fullname = oui[0] + ' / ' + oui[1] if oui[1] != ""
else
return 'UNKNOW'
return 'UNKNOWN'
end
end
@ -23,7 +23,7 @@ module Oui
fullname = oui[0]
fullname = oui[1] if oui[1] != ""
else
return 'UNKNOW'
return 'UNKNOWN'
end
end

View File

@ -1605,7 +1605,7 @@ NTLM_UTILS = Rex::Proto::NTLM::Utils
pkt['Payload'].v['ParamCountTotal'] = param.length
pkt['Payload'].v['DataCountTotal'] = body.length
pkt['Payload'].v['ParamCountMax'] = 1024
pkt['Payload'].v['DataCountMax'] = 65504
pkt['Payload'].v['DataCountMax'] = 65000
pkt['Payload'].v['ParamCount'] = param.length
pkt['Payload'].v['ParamOffset'] = param_offset
pkt['Payload'].v['DataCount'] = body.length
@ -1651,7 +1651,7 @@ NTLM_UTILS = Rex::Proto::NTLM::Utils
pkt['Payload'].v['ParamCountTotal'] = param.length
pkt['Payload'].v['DataCountTotal'] = body.length
pkt['Payload'].v['ParamCountMax'] = 1024
pkt['Payload'].v['DataCountMax'] = 65504
pkt['Payload'].v['DataCountMax'] = 65000
pkt['Payload'].v['ParamCount'] = param.length
pkt['Payload'].v['ParamOffset'] = param_offset
pkt['Payload'].v['DataCount'] = body.length