=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== init-system-helpers-1.59/script/deb-systemd-invoke-64- for my $unit (@units) { init-system-helpers-1.59/script/deb-systemd-invoke:65: system(qq|$policyhelper $unit "$action"|); init-system-helpers-1.59/script/deb-systemd-invoke-66- ############################################## init-system-helpers-1.59/script/deb-systemd-invoke-88- my $unit_installed = 0; init-system-helpers-1.59/script/deb-systemd-invoke:89: my $enabled_output = `/bin/systemctl is-enabled -- '$unit'`; init-system-helpers-1.59/script/deb-systemd-invoke-90- # matching enabled and enabled-runtime as an installed non static unit ############################################## init-system-helpers-1.59/script/deb-systemd-invoke-93- } init-system-helpers-1.59/script/deb-systemd-invoke:94: system('/bin/systemctl', '--quiet', 'is-active', '--', $unit); init-system-helpers-1.59/script/deb-systemd-invoke-95- my $unit_active = $?>>8 == 0 ? 1 : 0; ############################################## init-system-helpers-1.59/script/deb-systemd-invoke-105- if (@start_units) { init-system-helpers-1.59/script/deb-systemd-invoke:106: exec('/bin/systemctl', $action, @start_units) or die("Could not execute systemctl: $!"); init-system-helpers-1.59/script/deb-systemd-invoke-107- } ############################################## init-system-helpers-1.59/script/invoke-rc.d-103-if test x${BEQUIET} = x ; then init-system-helpers-1.59/script/invoke-rc.d:104: echo `basename $0`: "$*" >&2 init-system-helpers-1.59/script/invoke-rc.d-105-fi ############################################## init-system-helpers-1.59/script/invoke-rc.d-113- # init-system-helpers-1.59/script/invoke-rc.d:114:printaction=`echo $* | sed 's/ /, /g'` init-system-helpers-1.59/script/invoke-rc.d-115-if test $# -eq 1 ; then ############################################## init-system-helpers-1.59/script/invoke-rc.d-138-if test "x${POLICYHELPER}" != x && test -x "${POLICYHELPER}" ; then init-system-helpers-1.59/script/invoke-rc.d:139: FALLBACK=`${POLICYHELPER} ${BEQUIET} ${INITSCRIPTID} "${policyaction}" ${RL}` init-system-helpers-1.59/script/invoke-rc.d-140- RC=$? ############################################## init-system-helpers-1.59/script/invoke-rc.d-288-## Queries sysvinit for the current runlevel init-system-helpers-1.59/script/invoke-rc.d:289:if [ ! -x ${RUNLEVELHELPER} ] || ! RL=`${RUNLEVELHELPER}`; then init-system-helpers-1.59/script/invoke-rc.d-290- if [ -n "$is_systemd" ] && systemctl is-active --quiet sysinit.target; then ############################################## init-system-helpers-1.59/script/invoke-rc.d-396- if test x${RL} != x ; then init-system-helpers-1.59/script/invoke-rc.d:397: SLINK=`ls -d -Q ${RCDPREFIX}${RL}.d/S[0-9][0-9]${INITSCRIPTID} 2>/dev/null | xargs` init-system-helpers-1.59/script/invoke-rc.d:398: KLINK=`ls -d -Q ${RCDPREFIX}${RL}.d/K[0-9][0-9]${INITSCRIPTID} 2>/dev/null | xargs` init-system-helpers-1.59/script/invoke-rc.d:399: SSLINK=`ls -d -Q ${RCDPREFIX}S.d/S[0-9][0-9]${INITSCRIPTID} 2>/dev/null | xargs` init-system-helpers-1.59/script/invoke-rc.d-400- ############################################## init-system-helpers-1.59/script/service-43- init-system-helpers-1.59/script/service:44:VERSION="`basename $0` ver. __VERSION__" init-system-helpers-1.59/script/service:45:USAGE="Usage: `basename $0` < option > | --status-all | \ init-system-helpers-1.59/script/service-46-[ service_name [ command | --full-restart ] ]" ############################################## init-system-helpers-1.59/script/update-rc.d-142- # Use --quiet to mimic the old update-rc.d behaviour. init-system-helpers-1.59/script/update-rc.d:143: system("systemctl", "--quiet", "$action", "$scriptname"); init-system-helpers-1.59/script/update-rc.d-144- return; ############################################## init-system-helpers-1.59/script/update-rc.d-197- if ( -f "/etc/init.d/$scriptname" ) { init-system-helpers-1.59/script/update-rc.d:198: return system($insserv, @opts, "-r", $scriptname) >> 8; init-system-helpers-1.59/script/update-rc.d-199- } else { ############################################## init-system-helpers-1.59/script/update-rc.d-201- # what to look for. init-system-helpers-1.59/script/update-rc.d:202: my $rc = system($insserv, @opts) >> 8; init-system-helpers-1.59/script/update-rc.d-203- error_code($rc, "insserv rejected the script header") if $rc; ############################################## init-system-helpers-1.59/script/update-rc.d-208- if ( -f "/etc/init.d/$scriptname" ) { init-system-helpers-1.59/script/update-rc.d:209: my $rc = system($insserv, @opts, $scriptname) >> 8; init-system-helpers-1.59/script/update-rc.d-210- error_code($rc, "insserv rejected the script header") if $rc; ############################################## init-system-helpers-1.59/script/update-rc.d-218- if ( -f "/etc/init.d/$scriptname" ) { init-system-helpers-1.59/script/update-rc.d:219: my $rc = system($insserv, @opts, $scriptname) >> 8; init-system-helpers-1.59/script/update-rc.d-220- error_code($rc, "insserv rejected the script header") if $rc; ############################################## init-system-helpers-1.59/script/update-rc.d-230- # Call insserv to resequence modified links init-system-helpers-1.59/script/update-rc.d:231: my $rc = system($insserv, @opts, $scriptname) >> 8; init-system-helpers-1.59/script/update-rc.d-232- error_code($rc, "insserv rejected the script header") if $rc; ############################################## init-system-helpers-1.59/script/update-rc.d-272- my ($scriptname) = @_; init-system-helpers-1.59/script/update-rc.d:273: system("rc-update", "-qqa", "delete", $scriptname); init-system-helpers-1.59/script/update-rc.d-274- ############################################## init-system-helpers-1.59/script/update-rc.d-284- if ( @rls ) { init-system-helpers-1.59/script/update-rc.d:285: system("rc-update", "add", $scriptname, openrc_rlconv(@rls)); init-system-helpers-1.59/script/update-rc.d-286- } ############################################## init-system-helpers-1.59/t/helpers.pm-6- my $tmp = tempdir(CLEANUP => 1); init-system-helpers-1.59/t/helpers.pm:7: system("mount -n --bind $tmp $dir") == 0 init-system-helpers-1.59/t/helpers.pm-8- or BAIL_OUT("bind-mounting $tmp to $dir failed: $!"); ############################################## init-system-helpers-1.59/t/helpers.pm-68-sub dsh { init-system-helpers-1.59/t/helpers.pm:69: return system($dsh, @_); init-system-helpers-1.59/t/helpers.pm-70-}