FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

smb-enum-shares script fails OpenSSL error: error:12800067:DSO support routines::could not load the shared library · Issue #3298 · nmap/nmap · GitHub

Repository navigation

smb-enum-shares script fails OpenSSL error: error:12800067:DSO support routines::could not load the shared library #3298

Open

Description

Describe the bug
Attempts to run smb-enum-shares script fails

To Reproduce
install nmap v7,.98 CLI for windows
install openssl 3.6.1 for windows

Expected behavior
script should run and deliver output as documented here https://nmap.org/nsedoc/scripts/smb-enum-shares.html

Version info (please complete the following information):

  • OS: Windows server 2025

  • Output of nmap --version:
    Nmap version 7.98 ( https://nmap.org )
    Platform: i686-pc-windows-windows
    Compiled with: nmap-liblua-5.4.8 openssl-3.0.17 nmap-libssh2-1.11.1 nmap-libz-1.3.1 nmap-libpcre2-10.45 Npcap-1.83 nmap-libdnet-1.18.0 ipv6
    Compiled without:
    Available nsock engines: iocp poll select

  • Output of nmap --iflist
    Starting Nmap 7.98 ( https://nmap.org ) at 2026-02-11 12:53 +0000
    INTERFACES
    DEV (SHORT) IP/MASK TYPE UP MTU MAC
    eth0 (eth0) 10.15.5.60/24 ethernet up 1500 00:50:56:85:54:9A
    lo0 (lo0) ::1/128 loopback up -1
    lo0 (lo0) 127.0.0.1/8 loopback up -1

DEV WINDEVICE
eth0 \Device\NPF_{0575C237-0167-4A5B-934A-0C9FAC8248D7}
lo0 \Device\NPF_Loopback
lo0 \Device\NPF_Loopback
\Device\NPF_{026F7196-1C39-4AAA-A7FA-C6DEA58A500A}
\Device\NPF_{A1148CB3-8863-4F69-9AA2-7244CF7FA2F4}
\Device\NPF_{CADEDD93-5EFE-48FC-BC64-F52C94C6CE63}

ROUTES
DST/MASK DEV METRIC GATEWAY
255.255.255.255/32 eth0 271
10.15.5.255/32 eth0 271
10.15.5.60/32 eth0 271
127.0.0.1/32 lo0 331
255.255.255.255/32 lo0 331
127.255.255.255/32 lo0 331
10.15.5.0/24 eth0 271
127.0.0.0/8 lo0 331
224.0.0.0/4 eth0 271
224.0.0.0/4 lo0 331
0.0.0.0/0 eth0 271 10.15.5.1
::1/128 lo0 331
ff00::/8 lo0 331

  • Output of openssl --version
    OpenSSL 3.6.1 27 Jan 2026 (Library: OpenSSL 3.6.1 27 Jan 2026)

Additional context
script fails with error 12800067

NSE: Starting smb-enum-shares against 10.0.0.153.
NSE: [smb-enum-shares 10.0.0.153] SMB: Attempting to log into the system to enumerate shares
NSE: [smb-enum-shares 10.0.0.153] SMB: Added account '' to account list
NSE: [smb-enum-shares 10.0.0.153] SMB: Added account 'guest' to account list
NSE: smb-enum-shares against 10.0.0.153 threw an error!
C:\Program Files (x86)\Nmap/nselib/smbauth.lua:377: OpenSSL error: error:12800067:DSO support routines::could not load the shared library
stack traceback:
[C]: in function 'openssl.encrypt'
C:\Program Files (x86)\Nmap/nselib/smbauth.lua:377: in upvalue 'lm_create_hash'
C:\Program Files (x86)\Nmap/nselib/smbauth.lua:652: in function 'smbauth.get_password_response'
C:\Program Files (x86)\Nmap/nselib/smbauth.lua:775: in function 'smbauth.get_security_blob'
C:\Program Files (x86)\Nmap/nselib/smb.lua:1379: in upvalue 'start_session_extended'
C:\Program Files (x86)\Nmap/nselib/smb.lua:1584: in function 'smb.start_session'
C:\Program Files (x86)\Nmap/nselib/smb.lua:380: in function 'smb.start_ex'
(...tail calls...)
C:\Program Files (x86)\Nmap/nselib/msrpc.lua:4927: in function 'msrpc.enum_shares'
C:\Program Files (x86)\Nmap/nselib/smb.lua:3262: in function 'smb.share_get_list'
C:\Program Files (x86)\Nmap/scripts\smb-enum-shares.nse:110: in function <C:\Program Files (x86)\Nmap/scripts\smb-enum-shares.nse:105>
(...tail calls...)

Completed NSE at 12:39, 0.16s elapsed

openssl is accessible on path (ran openssl --version and it worked)

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


      Back | FazBrowse Home | New Git URL