mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 11:55:27 +00:00
Merge dce732f418 into 271cabb86a
This commit is contained in:
commit
c39ce59aac
2 changed files with 3 additions and 3 deletions
|
|
@ -736,7 +736,7 @@ MMSEncoder = {
|
|||
local sendstr = mmsStr
|
||||
sendstr = "\xa0"..self.encodeLength(#sendstr)..sendstr
|
||||
sendstr = "\x02\x01\x03"..sendstr
|
||||
sendstr = self.encodeSeq(sendstr)
|
||||
sendstr = self:encodeSeq(sendstr)
|
||||
sendstr = "\x61"..self.encodeLength(#sendstr)..sendstr --ISO8823
|
||||
sendstr = "\x01\x00\x01\x00"..sendstr --ISO8327 2x
|
||||
sendstr = "\x02\xf0\x80"..sendstr --ISO8073
|
||||
|
|
@ -974,7 +974,7 @@ MMSEncoder = {
|
|||
local value
|
||||
for k, v in pairs(message) do
|
||||
value = self.variableSpecification(self, v)
|
||||
retstr[#retstr+1] = self.encodeSeq(value)
|
||||
retstr[#retstr+1] = self:encodeSeq(value)
|
||||
end
|
||||
|
||||
return table.concat(retstr)
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ function searchTable(searchString, myTable)
|
|||
end
|
||||
|
||||
-- Rules
|
||||
portrule = shortport.portnumber(102, "iso-tsap")
|
||||
portrule = shortport.port_or_service(102, "iso-tsap", "tcp")
|
||||
|
||||
-- Actions
|
||||
action = function(host, port)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue