Hi All,

I need following functionality from nmap - test presence of a service listening to a particular port without performing full connect but with TCP SYN ACK RESET
and get the result in form of return status.  something like following:

[EMAIL PROTECTED] # nmap  -sS -p 22  hostname
[EMAIL PROTECTED] #  echo $?
1
[EMAIL PROTECTED] #

In other words - i need to get an indication from nmap about the performed scan in my script code. Parsing nmap output is not an option since nmap will be used very frequently ( each 5-10 seconds ) to test around 200 ports ..

I started to write my own C code to perform tcp SYN ping .. but in case there is an option to utilize nmap it will be preferred.

thanks in advance,
Mike

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to