nmap and Wireshark, without the syntax hunt
Fill in a form and get an nmap command, a Wireshark display filter or a tcpdump capture filter, with every part explained. Start from 56 ready-made recipes, turn a threat report into filters, or drop in nmap results to explore them. Nothing is scanned or captured here: you copy the result into your own terminal or Wireshark.
Only scan what you're allowed to
Port scans and packet captures can break rules, contracts and laws when they touch networks that aren't yours.
- Scan networks you're responsible for, or get written permission (scope, dates, source addresses) first.
- Tell your network or security team before a big scan, so it isn't mistaken for an attack.
- Captures can contain passwords, personal data and private messages. Store them like the sensitive data they are, and delete them when you're done.
- nmap's project hosts
scanme.nmap.orgfor practice scans (be gentle).
Display filters vs. capture filters
Wireshark has two filter languages, and they aren't interchangeable:
- Capture filters (BPF, also used by tcpdump) decide what gets recorded. Simple: hosts,
networks, ports, protocols. Anything left out is gone for good. Example:
host 10.0.0.5 and port 443 - Display filters hide packets in a capture you already have. They understand every protocol
field and can be changed any time. Example:
ip.addr == 10.0.0.5 && tls.handshake.type == 1 - When in doubt, capture broadly and narrow down with display filters.
Recipe catalog
nmap command builder
Wireshark display filter
Field names are Wireshark's. Pick Other field… to type any field (right-click a field in Wireshark's packet details → Copy → Field Name). Written for Wireshark 4.x.
Capture filter (BPF)
Indicators to filters
Paste anything: an alert email, a threat report, a list. IPs, domains,
URLs, email addresses and hashes are found by pattern matching (defanged forms like hxxp and
[.] too). Click a chip to drop it. Nothing is saved or sent anywhere.
nmap results
Drop nmap XML files (saved with -oX or -oA). Several
files are merged by host. Files are read in your browser and never uploaded; results are gone when you close the tab.