Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
apport /
package-hooks /
Delete
Unzip
Name
Size
Permission
Date
Action
apache2.py
1.77
KB
-rw-r--r--
2020-07-16 00:33
cloud-init.py
175
B
-rw-r--r--
2021-04-21 00:06
cryptsetup.py
259
B
-rw-r--r--
2017-09-06 12:08
isc-dhcp-client.py
1.75
KB
-rw-r--r--
2016-12-09 18:45
openssh-client.py
1.14
KB
-rw-r--r--
2020-05-27 01:17
openssh-server.py
1011
B
-rw-r--r--
2020-05-27 01:17
postfix.py
2.68
KB
-rw-r--r--
2020-07-28 23:11
source_apparmor.py
2.82
KB
-rw-r--r--
2016-10-04 22:14
source_apport.py
569
B
-rw-r--r--
2016-03-31 16:13
source_apport.pyc
830
B
-rw-r--r--
2025-07-15 07:05
source_byobu.py
417
B
-rw-r--r--
2016-04-08 00:05
source_console-setup.py
374
B
-rw-r--r--
2019-04-10 23:25
source_debian-installer.py
1.86
KB
-rw-r--r--
2025-07-11 17:07
source_debian-installer.pyc
2.04
KB
-rw-r--r--
2025-07-15 07:05
source_ghostscript.py
219
B
-rw-r--r--
2021-01-06 20:23
source_grub2.py
3.69
KB
-rw-r--r--
2020-08-24 10:54
source_linux-meta.py
6.04
KB
-rw-r--r--
2025-07-11 17:07
source_linux-meta.pyc
4.39
KB
-rw-r--r--
2025-07-15 07:05
source_linux-nexus7.py
948
B
-rw-r--r--
2025-07-11 17:07
source_linux-nexus7.pyc
1.11
KB
-rw-r--r--
2025-07-15 07:05
source_linux.py
6.04
KB
-rw-r--r--
2025-07-11 17:07
source_linux.pyc
4.38
KB
-rw-r--r--
2025-07-15 07:05
source_mdadm.py
2.05
KB
-rw-r--r--
2017-11-08 14:18
source_mysql-5.7.py
2.46
KB
-rw-r--r--
2017-02-03 18:32
source_ntp.py
485
B
-rw-r--r--
2020-01-07 16:08
source_plymouth.py
1.26
KB
-rw-r--r--
2018-05-09 13:58
source_samba.py
5.97
KB
-rw-r--r--
2021-04-14 18:00
source_shadow.py
720
B
-rw-r--r--
2019-03-26 20:34
source_sudo.py
1.13
KB
-rw-r--r--
2021-01-20 18:08
source_ubiquity.py
7.38
KB
-rw-r--r--
2025-07-11 17:07
source_ubiquity.pyc
5.98
KB
-rw-r--r--
2025-07-15 07:05
source_ubuntu-release-upgrader.py
2.07
KB
-rw-r--r--
2019-10-02 16:08
source_unattended-upgrades.py
705
B
-rw-r--r--
2021-02-24 02:21
source_update-manager.py
1.21
KB
-rw-r--r--
2019-08-20 13:59
systemd.py
866
B
-rw-r--r--
2021-04-02 17:50
udev.py
455
B
-rw-r--r--
2021-04-02 17:50
ureadahead.py
475
B
-rw-r--r--
2019-04-23 17:22
Save
Rename
'''Apport package hook for the Linux kernel. (c) 2008 Canonical Ltd. Contributors: Matt Zimmerman <mdz@canonical.com> Martin Pitt <martin.pitt@canonical.com> Brian Murray <brian@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. ''' import os.path, re import apport import apport.hookutils SUBMIT_SCRIPT = "/usr/bin/kerneloops-submit" def add_info(report, ui): # If running an upstream kernel, instruct reporter to file bug upstream abi = re.search("-(.*?)-", report['Uname']) if abi and (abi.group(1) == '999' or re.search("^0\d", abi.group(1))): ui.information("It appears you are currently running a mainline kernel. It would be better to report this bug upstream at http://bugzilla.kernel.org/ so that the upstream kernel developers are aware of the issue. If you'd still like to file a bug against the Ubuntu kernel, please boot with an official Ubuntu kernel and re-file.") report['UnreportableReason'] = 'The running kernel is not an Ubuntu kernel' return version_signature = report.get('ProcVersionSignature', '') if not version_signature.startswith('Ubuntu ') and 'CrashDB' not in report: report['UnreportableReason'] = 'The running kernel is not an Ubuntu kernel' return # Prevent reports against the linux-meta family, redirect to the main package. if report['SourcePackage'].startswith('linux-meta'): report['SourcePackage'] = report['SourcePackage'].replace('linux-meta', 'linux', 1) report.setdefault('Tags', '') # Tag up back ported kernel reports for easy identification if report['SourcePackage'].startswith('linux-lts-'): report['Tags'] += ' qa-kernel-lts-testing' apport.hookutils.attach_hardware(report) apport.hookutils.attach_alsa(report) apport.hookutils.attach_wifi(report) apport.hookutils.attach_file(report, '/proc/fb', 'ProcFB') staging_drivers = re.findall("(\w+): module is from the staging directory", report['CurrentDmesg']) if staging_drivers: staging_drivers = list(set(staging_drivers)) report['StagingDrivers'] = ' '.join(staging_drivers) report['Tags'] += ' staging' # Only if there is an existing title prepend '[STAGING]'. # Changed to prevent bug titles with just '[STAGING] '. if report.get('Title'): report['Title'] = '[STAGING] ' + report.get('Title') apport.hookutils.attach_file_if_exists(report, "/etc/initramfs-tools/conf.d/resume", key="HibernationDevice") uname_release = os.uname()[2] lrm_package_name = 'linux-restricted-modules-%s' % uname_release lbm_package_name = 'linux-backports-modules-%s' % uname_release apport.hookutils.attach_related_packages(report, [lrm_package_name, lbm_package_name, 'linux-firmware']) if ('Failure' in report and report['Failure'] == 'oops' and 'OopsText' in report and os.path.exists(SUBMIT_SCRIPT)): # tag kerneloopses with the version of the kerneloops package apport.hookutils.attach_related_packages(report, ['kerneloops-daemon']) oopstext = report['OopsText'] dupe_sig1 = None dupe_sig2 = None for line in oopstext.splitlines(): if line.startswith('BUG:'): bug = re.compile('at [0-9a-f]+$') dupe_sig1 = bug.sub('at location', line) rip = re.compile('^[RE]?IP:') if re.search(rip, line): loc = re.compile('\[<[0-9a-f]+>\]') dupe_sig2 = loc.sub('location', line) if dupe_sig1 and dupe_sig2: report['DuplicateSignature'] = '%s %s' % (dupe_sig1, dupe_sig2) # it's from kerneloops, ask the user whether to submit there as well if ui: # Some OopsText begin with "--- [ cut here ] ---", so remove it oopstext = re.sub("---.*\n", "", oopstext) first_line = re.match(".*\n", oopstext) ip = re.search("(R|E)?IP\:.*\n", oopstext) kernel_driver = re.search("(R|E)?IP(:| is at) .*\[(.*)\]\n", oopstext) call_trace = re.search("Call Trace(.*\n){,10}", oopstext) oops = '' if first_line: oops += first_line.group(0) if ip: oops += ip.group(0) if call_trace: oops += call_trace.group(0) if kernel_driver: report['Tags'] += ' kernel-driver-%s' % kernel_driver.group(3) # 2012-01-13 - disable submission question as kerneloops.org is # down # if ui.yesno("This report may also be submitted to " # "http://kerneloops.org/ in order to help collect aggregate " # "information about kernel problems. This aids in identifying " # "widespread issues and problematic areas. A condensed " # "summary of the Oops is shown below. Would you like to submit " # "information about this crash to kerneloops.org?" # "\n\n%s" % oops): # text = report['OopsText'] # proc = subprocess.Popen(SUBMIT_SCRIPT, stdin=subprocess.PIPE) # proc.communicate(text) elif 'Failure' in report and ('resume' in report['Failure'] or 'suspend' in report['Failure']): crash_signature = report.crash_signature() if crash_signature: report['DuplicateSignature'] = crash_signature if report.get('ProblemType') == 'Package': # in case there is a failure with a grub script apport.hookutils.attach_related_packages(report, ['grub-pc']) if __name__ == '__main__': r = apport.Report() r.add_proc_info() r.add_os_info() r['ProcVersionSignature'] = 'Ubuntu 3.4.0' add_info(r, None) for k, v in r.items(): print('%s: %s' % (k, v))