Help for this page

Select Code to Download


  1. or download this
    Running {/usr/bin/rsh case3 /usr/sbin/ping n0s30243.dnilab.cs.boeing.c
    +om 5 &|}
    [Tue Sep 11 09:01:13 2007] 7: Insecure dependency in piped open while 
    +running setgid at /dev/fd/7 line 195.
    
  2. or download this
        #--------------------- untaint the shell command -----------------
    +------------------------#
        # --- untaint the $nnm argument
    ...
        print br( "Lines returned: (" . @lines . ")" );
        print Dumper( @lines );
        print br,"------------", p;
    
  3. or download this
    # redirect stderror to screen
    BEGIN {
    ...
    {
        die "Error - $0 must be run as dncms $uid $<\n";
    }