Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
snap /
core22 /
2411 /
usr /
share /
apport /
package-hooks /
Delete
Unzip
Name
Size
Permission
Date
Action
cloud-init.py
176
B
-rw-r--r--
2025-11-16 03:11
cryptsetup.py
1.06
KB
-rw-r--r--
2025-03-08 02:50
isc-dhcp-client.py
1.75
KB
-rw-r--r--
2022-05-05 17:18
openssh-client.py
1.18
KB
-rw-r--r--
2025-04-11 21:05
openssh-server.py
1004
B
-rw-r--r--
2025-04-11 21:05
source_apparmor.py
2.72
KB
-rw-r--r--
2025-08-15 21:17
source_plymouth.py
1.44
KB
-rw-r--r--
2023-01-03 18:56
source_shadow.py
720
B
-rw-r--r--
2020-02-08 00:32
source_sudo.py
1.13
KB
-rw-r--r--
2022-08-03 16:22
systemd.py
871
B
-rw-r--r--
2025-08-27 00:23
udev.py
455
B
-rw-r--r--
2025-08-27 00:23
Save
Rename
#!/usr/bin/python '''apport hook for dhclient (c) 2010 Canonical Ltd. Author: Chuck Short <chuck.short@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 2 of the License, or (at your option) any later version. See http://www.gnu.org/copyleft/gpl.html for the full text of the license. ''' from apport.hookutils import * from os import path import re def dhcp_leases(pattern): ''' Extract options from '/var/lib/dhcp/dhclient.leases' which match a regex. pattern should be a "re" object. ''' lines = "" if os.path.exists('/var/lib/dhcp/dhclient.leases'): file = '/var/lib/dhcp/dhclient.leases' else: return lines for line in open(file): if pattern.search(line): lines += line return lines def add_info(report, ui): response = ui.yesno("The contents of your /etc/dhcp/dhclient.conf file may help developers diagnose your bug more quickly, however, it may contain sensitive information. Do you want to include it in your bug report?") if response == None: #user cancelled raise StopIteration elif response == True: attach_file_if_exists(report, '/etc/dhcp/dhclient.conf', 'Dhclient') attach_mac_events(report, ['/sbin/dhclient', '/usr/lib/NetworkManager/nm-dhcp-client.action', '/usr/lib/connman/scripts/dhclient-script']) attach_related_packages(report, ['apparmor', 'libapparmor1', 'libapparmor-perl', 'apparmor-utils', 'auditd', 'libaudit0']) attach_file(report, '/etc/apparmor.d/sbin.dhclient') leases = re.compile('option|renew|rebind|expire', re.IGNORECASE) report['DhclientLeases'] = dhcp_leases(leases)