in reply to port scanner using nmap

No need to shell out... there's an API for that!

Replies are listed 'Best First'.
Re^2: port scanner using nmap
by bv (Friar) on Mar 02, 2017 at 14:24 UTC

    I haven't tried that one, but I've helped work on an older one: Nmap::Parser, which also can run a scan directly with the parsescan method.

    print map{substr'hark, suPerJacent other l',$_,1}(11,7,6,16,5,1,15,18..23,8..10,24,17,0,12,13,3,14,2,4);