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