Linux Networking- Nmap Script

I need a script to run the nmap command on about 50 subnets (with varying subnet lengths - input in the form of\24)

It will be run from a virtual server and must not cause the server to crash. It will be run as super-user. It must be multi-threaded to get through thousands of hosts per day.

It should scan all 65356 ports and do it quickly - e.g. low timeouts.

It must not rely on ping to establish if the host is alive - icmp is usually blocked.

All major protocols - TCP, UDP, GRE should be tested.

It should do each of: TCP NULL, TCP CONNECT, TCP SYN, TCP FIN

It must not scan one port per host any more than 1 per second. This is to avoid smart firewalls that block on detection of stealth. Therefore: the script should accept port-ranges so that the project can be distributed amongst several EC2 instances.

E.g. instance 1 does ports 1-8000, instance 2 does 8001-16000, etc.

The command line should accept the port-range to make it easy to manage.

Furthermore it should include the --reason for 'filtered' UDP ports. And it should detect the service version found on open ports.

It should save it to a text file.

It should break down a subnet into individual IP addresses.

It should comment which type of scan caused the detection

Next I need a script that will take the text file as input, and convert it into CSV format so that I have one row listing the IP address, the port, and its status (open, filtered, closed), the service version, and the scans it responded to (NULL,CONNECT,SYN,FIN,UDP), an any reason. The script should Gzip it and send it to an address as an attachment using sendmail.

So I will have many rows for each IP address. Even by using multiple EC2 instances it becomes easy to consolidate the various CSV files.


If an existing tool does this project, you are welcome to use it. So long as we use a wrapper to make it one command.


To be awarded, provide the text of the nmap parameters you propose to use. This will show me that you know what you are doing. I receive too many automated bids and need to filter these people.

Compétences : Sécurité Internet, Linux

en voir plus : linux script pop3 email save attachment, shell script remove lines linux, shell script database project linux, linux, internet security, script erase file linux, script upload youtube linux, php script create email receive attachment folder, script stats shoutcast linux, shell script disk capacity linux, script save attachment linux, script ftp folders linux, script install service linux, script thumbshot website linux, script forward email linux, script extraire emails linux, script social networking model mayhem, script site thumb linux

Concernant l'employeur :
( 7 commentaires ) Ultimo, Australia

Nº du projet : #11685986

6 freelances font une offre moyenne de 284 $ pour ce travail

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(23 Commentaires)
%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(8 Commentaires)

Hi. We are a group of experienced engineers with different backgrounds (telecommunications, electronics and systems) with experience in technologies like C/C++/C#/Java/Linux/Scripting/SQL/Networking, who work for a tel Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(8 Commentaires)

Hello, I understood the initial scope of this project. Although i want to discuss further this job in order to prepare the final concept for this project. After Complete discussion over the call or in chat, i wi Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(1 Évaluation)

dear sir i have done MCS, i can do the job. i shall be providing to you nmap parameters shortly, kindly consider me a potential candidate for the task. regards A. fraz

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(1 Évaluation)

Dear Hiring Manager, Greetings for you. First of all thanks for create an opportunity. I have read your task details and can understand what you are looking for . . Because I have over 4 years better experience to per Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 4 jours
(4 Commentaires)