I'm scratching my head on this one.  Is anyone using perl and nmap::scanner along with guess_os() (a supposed built-in function)?  Here is a code snippet:<br><br>  my $scan = Nmap::Scanner->new();<br><br>  $scan->tcp_syn_scan();<br>
  $scan->add_scan_port('1-1024');<br>  # $scan->guess_os();<br>  $scan->add_target($address);<br><br>  my $results = $scan->scan();<br><br>  my $hosts = $results->get_host_list();<br><br>  # $os = $results->guess_os();<br>
<br>If I uncomment just $scan->guess_os() the script breaks about 3/4 of the time with errors such as:<br><br><nmap-error><br>  <pid="29819"/><br>  <cmdline="'/usr/bin/nmap' -v -v -v -sS -p 1-1024 -O  -oX - 10.239.237.135"/><br>
  <nmap-err>WARNING:  OS didn't match until try #2<br></nmap-msg><br></nmap-error><br><br>On the times it does work the BEST I'm able to do is get some kind of binary returned instead of the OS matches.<br>
<br>Any ideas?<br><br>Greg<br>