I would like to tell about n00b level Nmap usage...am also a learner and if you find mistakes in it please correct me.
First of all Nmap is Network mapper and u can find it on http://www.insecure.org/" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;
Lesson 1 : Getting started with Nmap
Installing Nmap on Linux (am doing it on Fedora) :
You should have a C++ compiler on your pc.
Download Nmap from http://nmap.org/dist/nmap-5.21.tar.bz2" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;
Now to open terminal and type
Code: Select all
#su
Code: Select all
#bzip2 -cd nmap-5.21.tar.bz2|tar xvf -
bzip2 => it uncompresses the file with bzip2
-c => decompresses the file to standard output
d => forces bzip2 to decompress the file
| => pipes the output of preceding command to the successor command (tar)
x => extracts from tarball
v => verbose during the extraction
f => instructs to use the device or filename that follows
- => (hyphen) means tar will use the output of bzip2 as input of tar command
Now all files are placed in Nmap 5.21
Code: Select all
# cd nmap 5.21
Code: Select all
#./configure
if there is any missing file or library it will show as error.
Code: Select all
#make
Code: Select all
#make install
Now we have successfully installed Nmap
Now check your ip by typing
Code: Select all
ifconfig
Now in terminal type
Code: Select all
nmap "your ip" (without quotes)
Code: Select all
#nmap 192.168.1.2
This is my first post ever. Constructive criticism most welcomed. If you like this, tell me, i will post Lesson 2 (Basics of IP,TCP,UDP and ICMP scanning by Nmap)