403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info/msmtp.postrm
#!/bin/sh

set -e

# Automatically added by dh_installdebconf/13.3.4ubuntu2
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_purge
fi
# End automatically added section
# Automatically added by dh_apparmor/3.0.3-0ubuntu2
if [ "$1" = "purge" ] && ! [ -e "/etc/apparmor.d/usr.bin.msmtp" ] ; then
    rm -f "/etc/apparmor.d/disable/usr.bin.msmtp" || true
    rm -f "/etc/apparmor.d/force-complain/usr.bin.msmtp" || true
    rm -f "/etc/apparmor.d/local/usr.bin.msmtp" || true
    rm -f /var/cache/apparmor/*/"usr.bin.msmtp" || true
    rmdir /etc/apparmor.d/disable 2>/dev/null || true
    rmdir /etc/apparmor.d/local   2>/dev/null || true
    rmdir /etc/apparmor.d         2>/dev/null || true
fi
# End automatically added section


case $1 in
    purge)
        if which ucf >/dev/null 2>&1; then
            ucf --purge /etc/msmtprc
        fi

        rm -f /etc/msmtprc

        if getent passwd msmtp >/dev/null; then
            deluser --quiet msmtp >/dev/null
        fi
        ;;
    *)
        ;;
esac

Youez - 2016 - github.com/yon3zu
LinuXploit