Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
apport /
package-hooks /
[ HOME SHELL ]
Name
Size
Permission
Action
apache2.py
1.77
KB
-rw-r--r--
cloud-init.py
176
B
-rw-r--r--
cryptsetup.py
1.06
KB
-rw-r--r--
isc-dhcp-client.py
1.75
KB
-rw-r--r--
libatasmart4.py
943
B
-rw-r--r--
openssh-client.py
1.18
KB
-rw-r--r--
openssh-server.py
1004
B
-rw-r--r--
postfix.py
2.68
KB
-rw-r--r--
source_apparmor.py
2.72
KB
-rw-r--r--
source_apport.py
569
B
-rw-r--r--
source_byobu.py
339
B
-rw-r--r--
source_clamav.py
523
B
-rw-r--r--
source_console-setup.py
374
B
-rw-r--r--
source_debian-installer.py
1.86
KB
-rw-r--r--
source_grub2.py
3.79
KB
-rw-r--r--
source_linux-firmware.py
6.15
KB
-rw-r--r--
source_linux-meta-oem-osp1.py
6.15
KB
-rw-r--r--
source_linux-meta-oem.py
6.15
KB
-rw-r--r--
source_linux-meta-raspi.py
6.15
KB
-rw-r--r--
source_linux-meta.py
6.15
KB
-rw-r--r--
source_linux-oem-osp1.py
6.15
KB
-rw-r--r--
source_linux-oem.py
6.15
KB
-rw-r--r--
source_linux-signed-oem-osp1.p...
6.15
KB
-rw-r--r--
source_linux-signed-oem.py
6.15
KB
-rw-r--r--
source_linux-signed.py
6.15
KB
-rw-r--r--
source_linux.py
6.15
KB
-rw-r--r--
source_mdadm.py
2.2
KB
-rw-r--r--
source_mysql-8.0.py
3.72
KB
-rw-r--r--
source_nginx.py
647
B
-rw-r--r--
source_plymouth.py
1.44
KB
-rw-r--r--
source_shadow.py
720
B
-rw-r--r--
source_shim-signed.py
1.95
KB
-rw-r--r--
source_shim.py
1.95
KB
-rw-r--r--
source_sudo.py
1.13
KB
-rw-r--r--
source_ubiquity.py
7.59
KB
-rw-r--r--
source_ubuntu-advantage-tools....
1.22
KB
-rw-r--r--
source_ubuntu-release-upgrader...
2.62
KB
-rw-r--r--
source_unattended-upgrades.py
705
B
-rw-r--r--
source_update-manager.py
2.39
KB
-rw-r--r--
subiquity.py
5.11
KB
-rw-r--r--
systemd.py
871
B
-rw-r--r--
ubuntu-desktop-installer.py
1.25
KB
-rw-r--r--
udev.py
455
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : postfix.py
#!/usr/bin/python3 # # postfix apport package hook # # Copyright (C) 2011 Canonical Ltd. All Rights Reserved. # Author: Clint Byrum <clint.byrum@canonical.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # import os import apport import re import gettext gettext.install('postfix-apport-hook') msg = _('In order for the developers to determine the cause of this, some' ' potentially sensitive information from your system configuration may' ' be helpful. Specifically, your hostname and DNS configuration. Please' ' note that this will be included in a *PUBLIC* bug report.' ) msg2 = _('Do you want to add this extra information to the bug report?') host_re = re.compile('^[a-zA-Z0-9][a-zA-Z0-9\-\.]*$') def add_info(report, ui): extra_info=dict() if os.path.exists('/etc/mailname'): extra_info['EtcMailname'] = open('/etc/mailname').read().strip() else: extra_info['EtcMailname'] = _('*** /etc/mailname does not exist ***') extra_info['Hostname'] = apport.hookutils.command_output(['hostname','--fqdn']) extra_info['PostconfMyhostname'] = apport.hookutils.command_output(['/usr/sbin/postconf','-h','myhostname']) extra_info['PostconfMydomain'] = apport.hookutils.command_output(['/usr/sbin/postconf','-h','mydomain']) """ Note that even if the user opts not to send the info, we get this key """ for k,v in extra_info.items(): if not host_re.match(v): report['DuplicateSignature'] = 'InvalidHostOrDomain' break # Do not include this in the dupes since it is usually "/etc/mailname" extra_info['PostconfMyorigin'] = apport.hookutils.command_output(['/usr/sbin/postconf','-h','myorigin']) if os.path.exists('/etc/resolv.conf'): extra_info['ResolvConf'] = open('/etc/resolv.conf').read() else: extra_info['ResolvConf'] = _('*** /etc/resolv.conf does not exist ***') eeinfo = [("%s: %s" % (k,v)) for k,v in extra_info.items()] answer = ui.yesno("%s\n\n%s\n\n%s" % (msg, msg2 ,"\n".join(eeinfo))) if answer: report.update(extra_info) return
Close