=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== os-autoinst-4.5.1527308405.8b586d5/backend/generalhw.pm-129- open(STDERR, ">&", $serial); os-autoinst-4.5.1527308405.8b586d5/backend/generalhw.pm:130: exec($self->get_cmd('GENERAL_HW_SOL_CMD')); os-autoinst-4.5.1527308405.8b586d5/backend/generalhw.pm-131- die "exec failed $!"; ############################################## os-autoinst-4.5.1527308405.8b586d5/backend/baseclass.pm-519-# if (defined $current_window_id) { os-autoinst-4.5.1527308405.8b586d5/backend/baseclass.pm:520:# system("DISPLAY=$display xdotool windowminimize --sync $current_window_id"); os-autoinst-4.5.1527308405.8b586d5/backend/baseclass.pm-521-# } ############################################## os-autoinst-4.5.1527308405.8b586d5/backend/pvm.pm-186- os-autoinst-4.5.1527308405.8b586d5/backend/pvm.pm:187: my $id = substr(qx/pvmctl lpar list -d LogicalPartition.id --where LogicalPartition.name=$vars->{LPAR}/, 3); os-autoinst-4.5.1527308405.8b586d5/backend/pvm.pm-188- chomp($id); ############################################## os-autoinst-4.5.1527308405.8b586d5/backend/pvm.pm-194- diag "source_iso: $source_iso, vio iso: $iso"; os-autoinst-4.5.1527308405.8b586d5/backend/pvm.pm:195: my $iso_present = qx/pvmctl media list -d VirtualOpticalMedia.media_name --where VirtualOpticalMedia.name=$iso/; os-autoinst-4.5.1527308405.8b586d5/backend/pvm.pm-196- if ($iso_present !~ /$iso/) { ############################################## os-autoinst-4.5.1527308405.8b586d5/backend/qemu.pm-322- if (defined which('xz')) { os-autoinst-4.5.1527308405.8b586d5/backend/qemu.pm:323: system(('xz', '-T', '2', "-v$compress_level", "ulogs/$filename")); os-autoinst-4.5.1527308405.8b586d5/backend/qemu.pm-324- } ############################################## os-autoinst-4.5.1527308405.8b586d5/backend/qemu.pm-331- if ($compress_method eq 'bzip2') { os-autoinst-4.5.1527308405.8b586d5/backend/qemu.pm:332: system(('bzip2', "-v$compress_level", "ulogs/$filename")); os-autoinst-4.5.1527308405.8b586d5/backend/qemu.pm-333- } ############################################## os-autoinst-4.5.1527308405.8b586d5/backend/qemu.pm-630- # do not use runcmd or autodie here, it can fail on tmpfs, xfs, ... os-autoinst-4.5.1527308405.8b586d5/backend/qemu.pm:631: CORE::system('/usr/bin/chattr', '-f', '+C', $basedir); os-autoinst-4.5.1527308405.8b586d5/backend/qemu.pm-632- ############################################## os-autoinst-4.5.1527308405.8b586d5/backend/qemu.pm-884- os-autoinst-4.5.1527308405.8b586d5/backend/qemu.pm:885: bmwqemu::diag(`$qemubin -version`); os-autoinst-4.5.1527308405.8b586d5/backend/qemu.pm-886- bmwqemu::diag("starting: " . join(" ", @params)); ############################################## os-autoinst-4.5.1527308405.8b586d5/backend/svirt.pm-113- my $chan = $self->{ssh}->channel(); os-autoinst-4.5.1527308405.8b586d5/backend/svirt.pm:114: $chan->exec($cmd); os-autoinst-4.5.1527308405.8b586d5/backend/svirt.pm-115- get_ssh_output($chan); ############################################## os-autoinst-4.5.1527308405.8b586d5/backend/svirt.pm-224- else { os-autoinst-4.5.1527308405.8b586d5/backend/svirt.pm:225: $chan->exec('virsh console ' . $name); os-autoinst-4.5.1527308405.8b586d5/backend/svirt.pm-226- } ############################################## os-autoinst-4.5.1527308405.8b586d5/consoles/localXvnc.pm-36- die "Missing 'xterm-console'" unless $xterm_vt_cmd; os-autoinst-4.5.1527308405.8b586d5/consoles/localXvnc.pm:37: eval { system("DISPLAY=$display $xterm_vt_cmd -title $window_name -e bash -c '$command' & echo \"xterm PID is \$!\""); }; os-autoinst-4.5.1527308405.8b586d5/consoles/localXvnc.pm-38- if (my $E = $@) { ############################################## os-autoinst-4.5.1527308405.8b586d5/consoles/localXvnc.pm-56- # resize and move window to fit in icewm os-autoinst-4.5.1527308405.8b586d5/consoles/localXvnc.pm:57: system("DISPLAY=$display $xdotool windowsize $window_id 100% 100%"); os-autoinst-4.5.1527308405.8b586d5/consoles/localXvnc.pm:58: system("DISPLAY=$display $xdotool windowmove $window_id 0 0"); os-autoinst-4.5.1527308405.8b586d5/consoles/localXvnc.pm-59-} ############################################## os-autoinst-4.5.1527308405.8b586d5/consoles/localXvnc.pm-82- close($peer); os-autoinst-4.5.1527308405.8b586d5/consoles/localXvnc.pm:83: exec("Xvnc -depth 16 -inetd -SecurityTypes None -ac $display"); os-autoinst-4.5.1527308405.8b586d5/consoles/localXvnc.pm-84- } ############################################## os-autoinst-4.5.1527308405.8b586d5/consoles/localXvnc.pm-98- # we need a window manager for fullscreen apps to work os-autoinst-4.5.1527308405.8b586d5/consoles/localXvnc.pm:99: system("DISPLAY=$display icewm -c $bmwqemu::scriptdir/consoles/icewm.cfg & echo \"icewm PID is \$!\""); os-autoinst-4.5.1527308405.8b586d5/consoles/localXvnc.pm-100- return; ############################################## os-autoinst-4.5.1527308405.8b586d5/consoles/sshIucvconn.pm-56- # start iucvconn os-autoinst-4.5.1527308405.8b586d5/consoles/sshIucvconn.pm:57: $serialchan->exec("iucvconn $zvmguest lnxhvc0"); os-autoinst-4.5.1527308405.8b586d5/consoles/sshIucvconn.pm-58-} ############################################## os-autoinst-4.5.1527308405.8b586d5/consoles/sshVirtsh.pm-467- # scp_put is unfortunately unreliable (RT#61771) os-autoinst-4.5.1527308405.8b586d5/consoles/sshVirtsh.pm:468: $chan->exec("cat > $xmlfilename"); os-autoinst-4.5.1527308405.8b586d5/consoles/sshVirtsh.pm-469- $chan->write($doc->toString(2)); ############################################## os-autoinst-4.5.1527308405.8b586d5/consoles/sshVirtsh.pm-540- my $chan = $self->{ssh}->channel(); os-autoinst-4.5.1527308405.8b586d5/consoles/sshVirtsh.pm:541: $chan->exec($cmd); os-autoinst-4.5.1527308405.8b586d5/consoles/sshVirtsh.pm-542- bmwqemu::diag "Command executed: $cmd"; ############################################## os-autoinst-4.5.1527308405.8b586d5/consoles/sshVirtsh.pm-556- my $chan = $self->{ssh}->channel(); os-autoinst-4.5.1527308405.8b586d5/consoles/sshVirtsh.pm:557: $chan->exec($cmd); os-autoinst-4.5.1527308405.8b586d5/consoles/sshVirtsh.pm-558- bmwqemu::diag "Command executed: $cmd"; ############################################## os-autoinst-4.5.1527308405.8b586d5/consoles/sshXtermVt.pm-52- # start iucvconn os-autoinst-4.5.1527308405.8b586d5/consoles/sshXtermVt.pm:53: $serialchan->exec($serial); os-autoinst-4.5.1527308405.8b586d5/consoles/sshXtermVt.pm-54- } ############################################## os-autoinst-4.5.1527308405.8b586d5/os-autoinst-openvswitch-28- #the bridge must be already created and configured os-autoinst-4.5.1527308405.8b586d5/os-autoinst-openvswitch:29: system('ovs-vsctl', 'br-exists', $self->{BRIDGE}); os-autoinst-4.5.1527308405.8b586d5/os-autoinst-openvswitch-30- os-autoinst-4.5.1527308405.8b586d5/os-autoinst-openvswitch:31: my $bridge_conf = `ip addr show $self->{BRIDGE}`; os-autoinst-4.5.1527308405.8b586d5/os-autoinst-openvswitch-32- ############################################## os-autoinst-4.5.1527308405.8b586d5/os-autoinst-openvswitch-80- { os-autoinst-4.5.1527308405.8b586d5/os-autoinst-openvswitch:81: system('ovs-ofctl', 'add-flow', $self->{BRIDGE}, $rule); os-autoinst-4.5.1527308405.8b586d5/os-autoinst-openvswitch-82- } ############################################## os-autoinst-4.5.1527308405.8b586d5/os-autoinst-openvswitch-101- os-autoinst-4.5.1527308405.8b586d5/os-autoinst-openvswitch:102: my $check_bridge = `ovs-vsctl port-to-br $tap`; os-autoinst-4.5.1527308405.8b586d5/os-autoinst-openvswitch-103- chomp $check_bridge; ############################################## os-autoinst-4.5.1527308405.8b586d5/os-autoinst-openvswitch-152- os-autoinst-4.5.1527308405.8b586d5/os-autoinst-openvswitch:153: $return_code = system('ip', 'link', 'set', $tap, 'up'); os-autoinst-4.5.1527308405.8b586d5/os-autoinst-openvswitch-154- return $return_code, $return_code != 0 ? "Failed to set $tap up " : ''; ############################################## os-autoinst-4.5.1527308405.8b586d5/t/14-isotovideo.t-22-close($var); os-autoinst-4.5.1527308405.8b586d5/t/14-isotovideo.t:23:system("perl $toplevel_dir/isotovideo -d 2>&1 | tee autoinst-log.txt"); os-autoinst-4.5.1527308405.8b586d5/t/14-isotovideo.t-24-is(system('grep -q "\d*: EXIT 1" autoinst-log.txt'), 0, 'test exited early as requested'); ############################################## os-autoinst-4.5.1527308405.8b586d5/t/99-full-stack.t-56-close($var); os-autoinst-4.5.1527308405.8b586d5/t/99-full-stack.t:57:system("perl $toplevel_dir/isotovideo -d 2>&1 | tee autoinst-log.txt"); os-autoinst-4.5.1527308405.8b586d5/t/99-full-stack.t-58-is(system('grep -q "\d*: EXIT 0" autoinst-log.txt'), 0, 'test executed fine'); ############################################## os-autoinst-4.5.1527308405.8b586d5/t/99-full-stack.t-113-# call isotovideo with additional test parameters provided by command line os-autoinst-4.5.1527308405.8b586d5/t/99-full-stack.t:114:system("perl $toplevel_dir/isotovideo -d qemu_disable_snapshots=1 2>&1 | tee autoinst-log.txt"); os-autoinst-4.5.1527308405.8b586d5/t/99-full-stack.t-115-isnt(system('grep -q "assert_screen_fail_test" autoinst-log.txt'), 0, 'assert screen test not scheduled'); ############################################## os-autoinst-4.5.1527308405.8b586d5/tools/preparepool-8-fi os-autoinst-4.5.1527308405.8b586d5/tools/preparepool:9:uid=`stat -c %u "$pool"` os-autoinst-4.5.1527308405.8b586d5/tools/preparepool-10-for ((i=1;i<=$num;++i)); do ############################################## os-autoinst-4.5.1527308405.8b586d5/debian/patches/0009-fix-checks.patch-796- my $wavfile = join('/', bmwqemu::result_dir(), $result->{audio}); os-autoinst-4.5.1527308405.8b586d5/debian/patches/0009-fix-checks.patch:797: system("snd2png $wavfile $result->{audio}.png"); os-autoinst-4.5.1527308405.8b586d5/debian/patches/0009-fix-checks.patch-798- ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0002-adjust-systemd-file-location.patch/Makefile.am-167- fi os-autoinst-4.5.1527308405.8b586d5/.pc/0002-adjust-systemd-file-location.patch/Makefile.am:168: rm -rf `find $(distdir) -name .gitignore` os-autoinst-4.5.1527308405.8b586d5/.pc/0002-adjust-systemd-file-location.patch/Makefile.am-169- ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0004-drop-unnecessary-docs.patch/Makefile.am-167- fi os-autoinst-4.5.1527308405.8b586d5/.pc/0004-drop-unnecessary-docs.patch/Makefile.am:168: rm -rf `find $(distdir) -name .gitignore` os-autoinst-4.5.1527308405.8b586d5/.pc/0004-drop-unnecessary-docs.patch/Makefile.am-169- ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0004-avoid-make-check-doc-failure.patch/Makefile.am-165- fi os-autoinst-4.5.1527308405.8b586d5/.pc/0004-avoid-make-check-doc-failure.patch/Makefile.am:166: rm -rf `find $(distdir) -name .gitignore` os-autoinst-4.5.1527308405.8b586d5/.pc/0004-avoid-make-check-doc-failure.patch/Makefile.am-167- ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0008-opencv4.patch/Makefile.am-165- fi os-autoinst-4.5.1527308405.8b586d5/.pc/0008-opencv4.patch/Makefile.am:166: rm -rf `find $(distdir) -name .gitignore` os-autoinst-4.5.1527308405.8b586d5/.pc/0008-opencv4.patch/Makefile.am-167- ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/Makefile.am-165- fi os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/Makefile.am:166: rm -rf `find $(distdir) -name .gitignore` os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/Makefile.am-167- ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/baseclass.pm-519-# if (defined $current_window_id) { os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/baseclass.pm:520:# system("DISPLAY=$display xdotool windowminimize --sync $current_window_id"); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/baseclass.pm-521-# } ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/pvm.pm-186- os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/pvm.pm:187: my $id = substr(qx/pvmctl lpar list -d LogicalPartition.id --where LogicalPartition.name=$vars->{LPAR}/, 3); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/pvm.pm-188- chomp($id); ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/pvm.pm-194- diag "source_iso: $source_iso, vio iso: $iso"; os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/pvm.pm:195: my $iso_present = qx/pvmctl media list -d VirtualOpticalMedia.media_name --where VirtualOpticalMedia.name=$iso/; os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/pvm.pm-196- if ($iso_present !~ /$iso/) { ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/qemu.pm-322- if (defined which('xz')) { os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/qemu.pm:323: system(('xz', '-T', '2', "-v$compress_level", "ulogs/$filename")); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/qemu.pm-324- } ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/qemu.pm-331- if ($compress_method eq 'bzip2') { os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/qemu.pm:332: system(('bzip2', "-v$compress_level", "ulogs/$filename")); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/qemu.pm-333- } ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/qemu.pm-630- # do not use runcmd or autodie here, it can fail on tmpfs, xfs, ... os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/qemu.pm:631: CORE::system('/usr/bin/chattr', '-f', '+C', $basedir); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/qemu.pm-632- ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/qemu.pm-884- os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/qemu.pm:885: bmwqemu::diag(`$qemubin -version`); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/qemu.pm-886- bmwqemu::diag("starting: " . join(" ", @params)); ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/svirt.pm-113- my $chan = $self->{ssh}->channel(); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/svirt.pm:114: $chan->exec($cmd); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/svirt.pm-115- get_ssh_output($chan); ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/svirt.pm-224- else { os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/svirt.pm:225: $chan->exec('virsh console ' . $name); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/backend/svirt.pm-226- } ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/consoles/sshXtermVt.pm-52- # start iucvconn os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/consoles/sshXtermVt.pm:53: $serialchan->exec($serial); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/consoles/sshXtermVt.pm-54- } ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/isotovideo-316-if ($ENV{RUN_VNCVIEWER}) { os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/isotovideo:317: system("vncviewer -shared localhost:" . $bmwqemu::vars{VNC} . " -viewonly &"); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/isotovideo-318-} os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/isotovideo-319-if ($ENV{RUN_DEBUGVIEWER}) { os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/isotovideo:320: system("$bmwqemu::scriptdir/debugviewer/debugviewer qemuscreenshot/last.png &"); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/isotovideo-321-} ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/ocr.pm-68- $img->write($imgfn); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/ocr.pm:69: system('tesseract', $imgfn, $txtfn); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/ocr.pm-70- $txtfn .= '.txt'; ############################################## os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/testapi.pm-1469- my $wavfile = join('/', bmwqemu::result_dir(), $result->{audio}); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/testapi.pm:1470: system("snd2png $wavfile $result->{audio}.png"); os-autoinst-4.5.1527308405.8b586d5/.pc/0009-fix-checks.patch/testapi.pm-1471- ############################################## os-autoinst-4.5.1527308405.8b586d5/Makefile.am-165- fi os-autoinst-4.5.1527308405.8b586d5/Makefile.am:166: rm -rf `find $(distdir) -name .gitignore` os-autoinst-4.5.1527308405.8b586d5/Makefile.am-167- ############################################## os-autoinst-4.5.1527308405.8b586d5/isotovideo-316-if ($ENV{RUN_VNCVIEWER}) { os-autoinst-4.5.1527308405.8b586d5/isotovideo:317: system("vncviewer -shared localhost:" . $bmwqemu::vars{VNC} . " -viewonly &"); os-autoinst-4.5.1527308405.8b586d5/isotovideo-318-} os-autoinst-4.5.1527308405.8b586d5/isotovideo-319-if ($ENV{RUN_DEBUGVIEWER}) { os-autoinst-4.5.1527308405.8b586d5/isotovideo:320: system("$bmwqemu::scriptdir/debugviewer/debugviewer qemuscreenshot/last.png &"); os-autoinst-4.5.1527308405.8b586d5/isotovideo-321-} ############################################## os-autoinst-4.5.1527308405.8b586d5/ocr.pm-68- $img->write($imgfn); os-autoinst-4.5.1527308405.8b586d5/ocr.pm:69: system('tesseract', $imgfn, $txtfn); os-autoinst-4.5.1527308405.8b586d5/ocr.pm-70- $txtfn .= '.txt'; ############################################## os-autoinst-4.5.1527308405.8b586d5/testapi.pm-1469- my $wavfile = join('/', bmwqemu::result_dir(), $result->{audio}); os-autoinst-4.5.1527308405.8b586d5/testapi.pm:1470: system("snd2png $wavfile $result->{audio}.png"); os-autoinst-4.5.1527308405.8b586d5/testapi.pm-1471-