From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=This test case ensures that the disk drive(s) are properly dismounted when Fedora is being shut down or when a Reboot is done. |setup=Install the p...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test case | |description=This test case detects that a remote host is alive using nmpa and guesses the opertaing system. | ||
|setup= | |setup= | ||
|actions= | Ensure the {{package|nmap}} package is installed. | ||
|actions= | |||
# | # Run nmap -O ip_or_hostname | ||
|results= | |results= | ||
<pre> Starting Nmap 7.80 ( https://nmap.org ) at 2021-06-16 16:31 IST | |||
Nmap scan report for MyRouter (192.168.) | |||
Host is up (0.000064s latency). | |||
Other addresses for MyRouter (not scanned): fe80::9ac4:2c1e:8d03:bb4d 192.168.122.1 | |||
Not shown: 999 closed ports | |||
PORT STATE SERVICE | |||
22/tcp open ssh | |||
Device type: general purpose | |||
Running: Linux 2.6.X | |||
OS CPE: cpe:/o:linux:linux_kernel:2.6.32 | |||
OS details: Linux 2.6.32 | |||
Network Distance: 0 hops </pre> | |||
}} | }} |
Latest revision as of 15:39, 16 June 2021
Description
This test case detects that a remote host is alive using nmpa and guesses the opertaing system.
Setup
Ensure the nmap
package is installed.
How to test
- Run nmap -O ip_or_hostname
Expected Results
Starting Nmap 7.80 ( https://nmap.org ) at 2021-06-16 16:31 IST Nmap scan report for MyRouter (192.168.) Host is up (0.000064s latency). Other addresses for MyRouter (not scanned): fe80::9ac4:2c1e:8d03:bb4d 192.168.122.1 Not shown: 999 closed ports PORT STATE SERVICE 22/tcp open ssh Device type: general purpose Running: Linux 2.6.X OS CPE: cpe:/o:linux:linux_kernel:2.6.32 OS details: Linux 2.6.32 Network Distance: 0 hops