Answers for "c++ program to use nmap"

C++
0

c++ program to use nmap

FILE *pin = popen("nmap -p 123 10.0.1.0/24","r");
if ( pin ) {
   while (!feof(pin)) {
      const char *line = readLine(pin);
      printf("%s\n", line);
   }
   pclose(pin);
}
Posted by: Guest on May-09-2022

Browse Popular Code Answers by Language