Win2scan «Extended – CHECKLIST»
description = "Detects Windows OS version via SMB" action = function(host, port) local response = smb.get_os(host, port) return response end Run with:
Example script structure ( smb-os-discovery.lua ): win2scan
For production or advanced use, pair it with Nmap and Metasploit. Always stay within legal boundaries and document authorization. description = "Detects Windows OS version via SMB"