Nmap Development mailing list archives

RE: where to start from


From: "Daniel White" <dwhite () securecommercesystems com>
Date: Tue, 3 Apr 2007 15:35:42 -0500

Mohammed- so you can code C++ like a butterfly and sting bugs like a bee :)

 

for KDE user interface development for beginners 

 

http://www.amazon.com/Linux-Application-Development-Cameron-Hughes/dp/076454
7402

 

PHP and mYSQL - try this list

 

http://www.amazon.com/you-want-learn-PHP-MySQL%3F/lm/1SF0MQN4NKZYX/ref=cm_lm
t_srch_f_1_rsrsrs0/104-2226703-2735915

 

 

cheers

 

************************************************

Dan White

Secure Commerce Systems

www.securecommercesystems.com

Securing Business in an Insecure World!

***********************************************

 

-----Original Message-----
From: nmap-dev-bounces () insecure org [mailto:nmap-dev-bounces () insecure org]
On Behalf Of Kris Katterjohn
Sent: Tuesday, April 03, 2007 2:10 PM
To: nmap-dev () insecure org
Subject: Re: where to start from

 

On 4/3/07, Muhammad Ali <m01ali1985 () yahoo co uk> wrote:



Hi Everyone

Can anyone help me with the following.

I want to start development for nmap,basically for learning development in

linux and c/c++ language. i can program in Java. I downloaded the source
for

nmap, but i not sure where to start from. I have no idea what are the

different part of nmap.I could not find a good start guide though.



Can you suggest me any link,book so it can learn and start/learn a bit

about nmap source code with documentation.



which language nmap is writen in, which IDE can i use or any other tools.

Thanks



 

Most of Nmap is written in C++, with just plain C in portions.

 

On Linux, you need gcc/g++ (well, any C and C++ compilers should work but

these come standard) and libraries (if gcc and g++ are installed, you most

likely have these installed) to make it.  You can view the source code in

any text editor.

 

You can probably type this in without problems:

 

# ./configure && make && make install

 

.. and then Nmap will be made and installed for you!

 

There are many books you can buy (or online tutorials you can read) to learn

about C/C++ programming.  For C, I loved K&R (

http://en.wikipedia.org/wiki/K%26R).  I never really got an actual C++ book,

so I can't really recommend one.

 

As far as learning the code, you may just want to start in nmap.cc with the

function nmap_main() and follow it.  When you see something you don't know,

grep the source code and try to find it. If you can't find it, grep in

/usr/include and you'll probably find it there

 

Hopefully somebody else can post up filling in any holes I left :)

 

Thanks,

Kris Katterjohn

 

_______________________________________________

Sent through the nmap-dev mailing list

http://cgi.insecure.org/mailman/listinfo/nmap-dev

Archived at http://SecLists.Org

 


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: