This commit is contained in:
RyugaXhypeR 2026-08-25 02:13:46 +08:00 committed by GitHub
commit c39ce59aac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

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

View file

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