Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add smb2-os-discovery.nse #2805

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add smb2-os-discovery.nse #2805

wants to merge 2 commits into from

Conversation

galycannon
Copy link

This script is used to determine the operating system, computer name, domain name, and current
time over the SMB2 protocol (ports 445 or 139).

You can use it with the command:
nmap --script smb2-os-discovery.nse -p445 127.0.0.1

This script solves problems related to using smb2 to detect the operating system, such as the following two issues:
https://github.com/nmap/nmap/issues/901
https://github.com/nmap/nmap/issues/2445

This script can be used to detect os version info with smb2 protocol.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant