def scan_host(host):
 if (opts.max and (int(opts.max) >= counter['Total'])):
  return
 host = str(host)
 if (host in hosts_to_skip):
  return
 result = is_vulnerable(host, opts.timeout, opts.port)
 message = store_results(host, result)
 if opts.verbose:
  print message
 return message

def scan_host ( host ) : if ( opts . max and ( int ( opts . max ) >= counter [ 'Total' ] ) ) : return host = str ( host ) if ( host in hosts_to_skip ) : return result = is_vulnerable ( host , opts . timeout , opts . port ) message = store_results ( host , result ) if opts . verbose : print message return message
scans a single host .