> For the complete documentation index, see [llms.txt](https://viperone.gitbook.io/pentest-everything/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://viperone.gitbook.io/pentest-everything/everything/ports/ports-137-or-138-or-139-or-netbios.md).

# Ports 137 | 138 | 139 | NetBIOS

```markup
nmblookup -A <IP>
nbtscan <IP>/30 -v
sudo nmap -sU -sV -T4 --script nbstat.nse -p137 -Pn -n <IP>
nmap --script=msrpc-enum <IP>
```

### Metasploit

```markup
auxiliary/scanner/netbios/nbname
```
