in reply to A weird problem while executing nmap and fetching its output

It works well if the settings attribute is "-sT", but not if it is "-sU".

What does that mean? -sU says it can be slow

So my question is, could this be in any way a Perl problem?

No

  • Comment on Re: A weird problem while executing nmap and fetching its output

Replies are listed 'Best First'.
Re^2: A weird problem while executing nmap and fetching its output
by tobbo (Novice) on Apr 11, 2013 at 13:13 UTC
    Thanks for your reply!

    Well yes, -sU is slow, but on startup nmap prints a version info. Also, to be a bit more perl related, shouldn't while(<F>) read until an EOF?

    So I suspect that the command doesn't execute at all, even though it is syntactically correct (if I print out the command and paste it to the commandline, everything works perfectly).

    Is the whole open a command as a filehandle syntactic sugar for fork/pipe/execute so i can debug from there?

      > Is the whole open a command as a filehandle syntactic sugar for forkpipeexecute so i can debug from there?

      Well, like documented in open

      Cheers Rolf

      ( addicted to the Perl Programming Language)