Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: Re: nmap script engine

Re: nmap script engine

From: Diman Todorov <diman.todorov_at_chello.at>
Date: Tue, 10 Jul 2007 10:13:58 +0200

Hello Max,

On 06.07.2007, at 07:10, weisst-du-doch-net wrote:

> hello!
>
> i have written a script for nmap. i never heraed before from the
> programming language lex and i am too lazy to have a deeper look at it
> so i decided to write my script in python and call this from my lex
> script with os.exeute.
>

while this is a very creative idea it has one serious flaw. It blocks
on network I/O. What makes NSE scalable and fast is the fact that NSE
scripts don't block on network I/O. Whenever one script is waiting
for network activity other scripts are executing. Since the network
traffic is usually the slowest part of the script execution this
concept parallelizes the execution of scripts well.
I suggest that you send your script to nmap-dev nevertheless so that
someone can port it to NSE.

cheers,
Diman

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

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos