On Jan 6, 2008 8:37 PM, Mike Kemelmakher <[EMAIL PROTECTED]> wrote: > 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. > NMAP API? http://insecure.org/nmap/nse/nse-api.html
================================================================= 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]