Skip to content

Nmap 7.992: NSE version scripts fail after lazy-loading change #3557

Closed

Description

@nzb-tuxxx

Description:

Nmap 7.992 produces six NSE errors in nmap.version_intensity():
attempt to index a nil value (e.g. https-redirect.nse:26).
Nmap 7.991 runs the same scan without errors.

Additional info:

  • Arch Linux, x86_64; nmap 7.992-1 (extra-testing), Lua 5.4.9.
  • Problematic commit: 8375194
  • Lazy loading removes the global nmap table, but version_intensity() still accesses it.

Steps to reproduce:

  1. Start python -m http.server 18080 --bind 127.0.0.1.
  2. Run nmap -sV -p18080 -d 127.0.0.1.
  3. Observe Lua errors in nmap.version_intensity(). The scan still exits with status 0.

Assisted-by: GPT-6.1-Sol high

Activity

  1. nzb-tuxxx commented on Oct 16, 2026

    @nzb-tuxxx
    Author

    Ncat Label is wrong, please change to nmap

  2. added a commit that references this issue on Oct 20, 2026
    29cb897
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions