Help for this page

Select Code to Download


  1. or download this
    # this code does not check for errors!
    
    ...
    ($out,$err) = $ssh->capture2('tcpdump -r /tmp/tmp.pcap');
    print "THE OUT IS $out\nTHE ERROR IS $err\n";