=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== libparanoid-perl-2.07/lib/Paranoid/IO/Lockfile.pm-65- # Open the file and apply the lock libparanoid-perl-2.07/lib/Paranoid/IO/Lockfile.pm:66: $fh = popen( $filename, O_RDWR | O_CREAT | O_EXCL, $perms ) libparanoid-perl-2.07/lib/Paranoid/IO/Lockfile.pm:67: || popen( $filename, O_RDWR, $perms ); libparanoid-perl-2.07/lib/Paranoid/IO/Lockfile.pm-68- $rv = pflock( $filename, $type ) if defined $fh; ############################################## libparanoid-perl-2.07/lib/Paranoid/IO/Line.pm-87- # Check to see if we can get a valid file handle libparanoid-perl-2.07/lib/Paranoid/IO/Line.pm:88: if ( defined( $fh = popen( $file, O_RDONLY ) ) ) { libparanoid-perl-2.07/lib/Paranoid/IO/Line.pm-89- @fhstat = stat $fh; ############################################## libparanoid-perl-2.07/lib/Paranoid/IO/Line.pm-356- # Open the file and move the cursor libparanoid-perl-2.07/lib/Paranoid/IO/Line.pm:357: pseek( $file, $ofsb, SEEK_END ) if popen( $file, O_RDONLY ); libparanoid-perl-2.07/lib/Paranoid/IO/Line.pm-358- ############################################## libparanoid-perl-2.07/lib/Paranoid/Process.pm-504- pdebug( 'executing command', PDLEVEL2 ); libparanoid-perl-2.07/lib/Paranoid/Process.pm:505: $$oref = `$cmd`; libparanoid-perl-2.07/lib/Paranoid/Process.pm-506- $$cref = $?; ############################################## libparanoid-perl-2.07/lib/Paranoid/Log/File.pm-120- and length $record{options}{file} ) { libparanoid-perl-2.07/lib/Paranoid/Log/File.pm:121: $rv = defined popen( $record{options}{file}, $mode, $perm ); libparanoid-perl-2.07/lib/Paranoid/Log/File.pm-122- } else { ############################################## libparanoid-perl-2.07/lib/Paranoid/IO.pm-308- # Returns: file handle libparanoid-perl-2.07/lib/Paranoid/IO.pm:309: # Usage: $fh = popen($filename, $mode, $perms); libparanoid-perl-2.07/lib/Paranoid/IO.pm-310- ############################################## libparanoid-perl-2.07/lib/Paranoid/IO.pm-463- libparanoid-perl-2.07/lib/Paranoid/IO.pm:464: $fh = popen( $filename, O_RDWR ); libparanoid-perl-2.07/lib/Paranoid/IO.pm-465- if ( defined $fh ) { ############################################## libparanoid-perl-2.07/lib/Paranoid/IO.pm-496- libparanoid-perl-2.07/lib/Paranoid/IO.pm:497: $fh = popen( $filename, O_RDWR ); libparanoid-perl-2.07/lib/Paranoid/IO.pm-498- if ( defined $fh ) { ############################################## libparanoid-perl-2.07/lib/Paranoid/IO.pm-533- # otherwise, just retrieve the existing file handle libparanoid-perl-2.07/lib/Paranoid/IO.pm:534: $fh = popen( $filename, O_WRONLY | O_CREAT | O_TRUNC ); libparanoid-perl-2.07/lib/Paranoid/IO.pm-535- ############################################## libparanoid-perl-2.07/lib/Paranoid/IO.pm-581- # Opportunistically opena file handle in append mode libparanoid-perl-2.07/lib/Paranoid/IO.pm:582: $fh = popen( $filename, O_WRONLY | O_CREAT | O_APPEND ); libparanoid-perl-2.07/lib/Paranoid/IO.pm-583- ############################################## libparanoid-perl-2.07/lib/Paranoid/IO.pm-645- # otherwise, just retrieve the existing file handle libparanoid-perl-2.07/lib/Paranoid/IO.pm:646: $fh = popen( $filename, O_RDONLY ); libparanoid-perl-2.07/lib/Paranoid/IO.pm-647- ############################################## libparanoid-perl-2.07/lib/Paranoid/IO.pm-702- $pos = 0 unless defined $pos; libparanoid-perl-2.07/lib/Paranoid/IO.pm:703: $fh = popen( $filename, O_RDWR | O_CREAT ); libparanoid-perl-2.07/lib/Paranoid/IO.pm-704- ############################################## libparanoid-perl-2.07/lib/Paranoid/IO.pm-763- # Explicit open libparanoid-perl-2.07/lib/Paranoid/IO.pm:764: $fh = popen($filename, O_RDWR | O_CREAT | O_TRUNC, 0600); libparanoid-perl-2.07/lib/Paranoid/IO.pm-765- $rv = pseek($filename, 0, SEEK_END); ############################################## libparanoid-perl-2.07/lib/Paranoid/IO.pm-910- libparanoid-perl-2.07/lib/Paranoid/IO.pm:911: $fh = popen($filename); libparanoid-perl-2.07/lib/Paranoid/IO.pm:912: $fh = popen($filename, $mode); libparanoid-perl-2.07/lib/Paranoid/IO.pm:913: $fh = popen($filename, $mode, $perms); libparanoid-perl-2.07/lib/Paranoid/IO.pm:914: $fh = popen($fh); libparanoid-perl-2.07/lib/Paranoid/IO.pm-915- ############################################## libparanoid-perl-2.07/lib/Paranoid/Filesystem.pm-578- pdebug( 'creating empty file (%s)', PDLEVEL2, $target ); libparanoid-perl-2.07/lib/Paranoid/Filesystem.pm:579: $fh = popen( $target, O_CREAT | O_EXCL | O_RDWR ) libparanoid-perl-2.07/lib/Paranoid/Filesystem.pm:580: || popen( $target, O_RDWR ); libparanoid-perl-2.07/lib/Paranoid/Filesystem.pm-581- if ( defined $fh ) { ############################################## libparanoid-perl-2.07/t/03_io.t-27-# Check file mode libparanoid-perl-2.07/t/03_io.t:28:ok( $fh = popen( $f, O_CREAT | O_RDWR ), 'file mode 1' ); libparanoid-perl-2.07/t/03_io.t-29-@tmp = stat $f; ############################################## libparanoid-perl-2.07/t/03_io.t-33- libparanoid-perl-2.07/t/03_io.t:34:ok( $fh = popen( $f, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR ), 'file mode 4' ); libparanoid-perl-2.07/t/03_io.t-35-@tmp = stat $f; ############################################## libparanoid-perl-2.07/t/03_io.t-38-# Check cached file handle libparanoid-perl-2.07/t/03_io.t:39:ok( $fh == popen($f), 'popen cache 1' ); libparanoid-perl-2.07/t/03_io.t-40- ############################################## libparanoid-perl-2.07/t/03_io.t-73-pclose($f); libparanoid-perl-2.07/t/03_io.t:74:ok( $fh = popen( $f, O_RDONLY ), 'pwrite read-only 1' ); libparanoid-perl-2.07/t/03_io.t-75-$rv = pwrite( $f, $bread ); ############################################## libparanoid-perl-2.07/t/03_io.t-81-for ( 0 .. 99 ) { $text .= sprintf( "%04d\n", $_ ) } libparanoid-perl-2.07/t/03_io.t:82:ok( $fh = popen( $f, O_CREAT | O_TRUNC | O_RDWR ), 'read/write 1' ); libparanoid-perl-2.07/t/03_io.t-83-$rv = pwrite( $f, $text ); ############################################## libparanoid-perl-2.07/t/03_io.t-128-# Test everything w/file handles libparanoid-perl-2.07/t/03_io.t:129:$fh = popen($f); libparanoid-perl-2.07/t/03_io.t-130-ok( pclose($fh), 'file handle 1' ); libparanoid-perl-2.07/t/03_io.t:131:$fh = popen($f); libparanoid-perl-2.07/t/03_io.t-132-ok( pflock( $f, LOCK_EX ), 'file handle 2' ); ############################################## libparanoid-perl-2.07/t/10_io_line.t-89-# Multiplea tail test libparanoid-perl-2.07/t/10_io_line.t:90:ok( popen( $f, O_RDWR ), 'multiple tailf 1' ); libparanoid-perl-2.07/t/10_io_line.t-91-is( tailf( $f, @lines, 0, -1 ), 1, 'multiple tailf 2' );