I am developing protocol fuzzing software in C/C++. I need a way to monitor the status of the fuzzing target (like ports, services). Is Nmap a good choice? If yes, then how to invoke Nmap in C/C++, is there an API? Thx.
Asked
Active
Viewed 2,253 times
1 Answers
1
I don't know what you really need, you did not provide any additional information in your question. In my opinion you can follow two different ways:
- use nmap outside your program, as an external tool
- use libpcap inside your software to analyze network traffic and obtain the information you need

dave
- 2,199
- 1
- 16
- 34
-
libpcap is too low level, a lot of work need to be done. It seems that nmap doesn't provide an API to invoke its DLLs. The external way (CMD) is a little less-efficient. – hsluoyz Mar 27 '14 at 15:41