403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.45
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info/ssl-cert.postrm
#!/bin/sh -e

if [ "$1" = purge ] ; then
	rm -f /etc/ssl/certs/ssl-cert-snakeoil.pem \
	      /etc/ssl/certs/ssl-cert-snakeoil.pem.broken \
              /etc/ssl/private/ssl-cert-snakeoil.key \
	      /etc/ssl/private/ssl-cert-snakeoil.key.broken

	# remove hash symlink
	find /etc/ssl/certs -maxdepth 1 -lname ssl-cert-snakeoil.pem -delete > /dev/null 2>&1 || true

	if dpkg-statoverride --list /etc/ssl/private 2>&1 | grep -q "root ssl-cert 710"
	then
		dpkg-statoverride --remove /etc/ssl/private
		# /etc/ssl/private is also in package openssl, change permissions back
		# if not
		if [ -e /etc/ssl/private ] ; then
			chgrp root /etc/ssl/private
			chmod 700 /etc/ssl/private
				
		fi
	fi
	# if openssl conffiles are not there (i.e purged), try to delete dirs
	if [ ! -e /etc/ssl/openssl.cnf ] ; then
		rmdir /etc/ssl/private /etc/ssl/certs /etc/ssl 2> /dev/null || true
	fi
fi

# Automatically added by dh_installdebconf/13.11.6ubuntu1
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_purge
fi
# End automatically added section
# Automatically added by dh_installsystemd/13.11.6ubuntu1
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
	systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installsystemd/13.11.6ubuntu1
if [ "$1" = "purge" ]; then
	if [ -x "/usr/bin/deb-systemd-helper" ]; then
		deb-systemd-helper purge 'ssl-cert.service' >/dev/null || true
	fi
fi
# End automatically added section


Youez - 2016 - github.com/yon3zu
LinuXploit