Remember that all commands in Linux are case sensitive.
Procedure: Compile and create the Linux executable and run it against
the target with the syntax of:
nmap
(IP Address)
From a Linux Terminal containing the directory of the compressed nmap
files type nmap (IP Address).
The files will uncompress into a new directory named nmap-3.70.
Change to the new directory by typing cd nmap-3.70.
From the new directory the nmap application must be compiled for the
specific machine it is installed on by typing ./configure.
The nmap application will compile to the specific machine it resides on.
110 Practical Hacking Techniques and Countermeasures
The next step is to type the make command:
The command will execute.
Target Enumeration 111
The last step is to create the executable by typing make install.
The nmap application will now be created.
112 Practical Hacking Techniques and Countermeasures
In this example, to execute nmap against a target with the IP of 172.16.1.40
to determine the target??™s operating system, type the following:
nmap ??“sS ??“p 139 ??“O ??“D 24.213.28.234 172.16.1.40
The ??“sS option instructs nmap to use a TCP Synchronized (SYN) stealth
port scan. This option is initiated by default if you are logged in as the
root user.
The ??“p 139 option instructs nmap to scan for a specific port, in this
case port 139.
The ??“O option instructs nmap to use TCP/IP fingerprinting to guess
the target operating system.
Pages:
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68