Skip to content

NSE Script fix: iec61850-mms.nse and method call in iec61850mms.lua - #3307

Open
RyugaXhypeR wants to merge 2 commits into
nmap:masterfrom
RyugaXhypeR:master
Open

RyugaXhypeR wants to merge 2 commits into
nmap:masterfrom
RyugaXhypeR:master

Conversation

@RyugaXhypeR

Copy link
Copy Markdown

iec61850-mms.nse:
Call to shortport.portnumber(102, "iso-tsap") was faulty. Instead of specifying the protocol in the second argument, the service was specified. Fixed it by calling shortport.port_or_service instead.

iec61850mms.lua:
Calls to self.encodeSeq were wrong. encodeSeq from nselib/ans1.lua is a method requiring self as the first argument. Fixed it switching to self:encodeSeq.

@zepab

zepab commented Apr 13, 2026

Copy link
Copy Markdown

tested against some mms compatible hw, working fine.

@RyugaXhypeR
RyugaXhypeR marked this pull request as draft April 13, 2026 11:54
@RyugaXhypeR
RyugaXhypeR marked this pull request as ready for review April 18, 2026 03:10
@nnposter nnposter self-assigned this Sep 30, 2026
nmap-bot pushed a commit that referenced this pull request Sep 30, 2026
@nnposter

Copy link
Copy Markdown

The shortport issue has been independently found and fixed in feca0ba. As this PR predates the fix, I have re-assigned the credit in the CHANGELOG to @RyugaXhypeR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants