Movatterモバイル変換


[0]ホーム

URL:


Home page logo

Host Filtering

The list of hosts can be filtered by a filter string. When the filter is active, only the hosts matching the filter string will be shown. The other hosts are still present in the inventory, but hidden. Using a filter string, you can quickly narrow down a large scan to just the hosts you are interested in.Figure 12.12 shows the host filter in action, finding the two hosts out of nine that matchapache.

Figure 12.12. Host filter
Host filter

The host filter is activated by clicking theFilter Hosts button, selectingFilter Hosts from theTools menu, or pressingctrl+L. This will raise the filter bar at the bottom of the screen. Hosts are filtered live as you type. To disable the filter, clickFilter Hosts or pressctrl+L again to hide the filter bar.

This simplest form of host filtering is basic keyword matching. Enter one or more strings such asapache,linux, ortelnet, and it will match hosts that have the string anywhere in their information—as a hostname or IP address, port name or number, OS match, or service version string. If more than one word is in the filter string, all the words must match for a host to be shown.

For more specific results, the host filter also supports matching only specific data fields in each host. The syntax supported is a subset of the search criteria discussed in detail inthe section called “Searching Saved Results”. The criteria allowed in the host filter are

keyword matching;
port states:open:,closed:,filtered:,open|filtered:,closed|filtered:, andunfiltered:;
os: (operating system);
service: (service version); and
inroute: (host in route).

Here are some examples of host filter strings.

apache

This keyword search matches hosts that have been found to be running the Apache web server, but will also match any other host withapache in it, for example one namedapache.example.com.

service:apache

This is like the previous string, but it will only matchapache in a service version.

os:linux ssh

Shows Linux hosts that are running SSH.

open:445

Shows all hosts with port 445 open.



[8]ページ先頭

©2009-2025 Movatter.jp