__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
"""Apport package hook for Network Manager

(c) 2008 Canonical Ltd.
Contributors:
Matt Zimmerman <[email protected]>
Martin Pitt <[email protected]>
Mathieu Trudel-Lapierre <[email protected]>
Thomas Bechtold <[email protected]>

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
import subprocess
from apport.hookutils import *


def _network_interfaces():
    interfaces = []
    output = command_output(["ls", "-1", "/sys/class/net"])
    for device in output.split("\n"):
        interfaces.append(device)

    return interfaces


def _device_details(device):
    details = command_output(
        ["udevadm", "info", "--query=all", "--path", "/sys/class/net/%s" % device]
    )

    # add the only extra thing of use from hal we don't get from udev.
    details = details + "\nX: INTERFACE_MAC="
    details = details + command_output(["cat", "/sys/class/net/%s/address" % device])
    return details


def add_info(report, ui=None):
    attach_network(report)
    attach_wifi(report)

    # this is the old config file (still read by NM if available)
    attach_file_if_exists(
        report, "/etc/NetworkManager/nm-system-settings.conf", "nm-system-settings.conf"
    )

    # the new default config file
    attach_file_if_exists(
        report, "/etc/NetworkManager/NetworkManager.conf", "NetworkManager.conf"
    )

    # attach NetworkManager.state: it gives us good hints in rfkill-related bugs.
    attach_file_if_exists(
        report, "/var/lib/NetworkManager/NetworkManager.state", "NetworkManager.state"
    )

    for interface in _network_interfaces():
        key = "NetDevice.%s" % interface
        report[key] = _device_details(interface)

    interesting_modules = {
        "ndiswrapper": "driver-ndiswrapper",
        "ath_hal": "driver-madwifi",
        "b44": "driver-b44",
    }
    interesting_modules_loaded = []
    tags = []
    for line in open("/proc/modules"):
        module = line.split()[0]
        if module in interesting_modules:
            tags.append(interesting_modules[module])
            interesting_modules_loaded.append(module)

    if interesting_modules_loaded:
        report["InterestingModules"] = " ".join(interesting_modules_loaded)
        report.setdefault("Tags", "")
        report["Tags"] += " " + " ".join(tags)

    # add output of nmcli
    report["nmcli-nm"] = command_output(["nmcli", "-f", "all", "gen"])
    report["nmcli-dev"] = command_output(["nmcli", "-f", "all", "dev"])
    report["nmcli-con"] = command_output(["nmcli", "-f", "all", "con"])


## Only for debugging ##
if __name__ == "__main__":
    report = {}
    report["CrashDB"] = "ubuntu"
    add_info(report, None)
    for key in report:
        print("%s: %s" % (key, report[key]))

Filemanager

Name Type Size Permission Actions
apache2.py File 1.77 KB 0644
aptdaemon.py File 2.81 KB 0644
cloud-init.py File 176 B 0644
libatasmart4.py File 943 B 0644
openssh-client.py File 1.18 KB 0644
openssh-server.py File 1004 B 0644
shotwell.py File 207 B 0644
source_alsa-driver.py File 187 B 0644
source_apparmor.py File 2.72 KB 0644
source_apport.py File 623 B 0644
source_bluez.py File 1.03 KB 0644
source_c2esp.py File 213 B 0644
source_console-setup.py File 374 B 0644
source_cups-browsed.py File 220 B 0644
source_cups-filters.py File 220 B 0644
source_cups.py File 328 B 0644
source_fontconfig.py File 162 B 0644
source_foo2zjs.py File 215 B 0644
source_foomatic-db.py File 219 B 0644
source_gnome-settings-daemon.py File 985 B 0644
source_gnome-shell.py File 1.59 KB 0644
source_grub2.py File 3.79 KB 0644
source_hplip.py File 213 B 0644
source_libcupsfilters.py File 222 B 0644
source_libdmx.py File 23.93 KB 0755
source_libdrm.py File 23.93 KB 0755
source_libfontenc.py File 23.93 KB 0755
source_libfs.py File 23.93 KB 0755
source_libglvnd.py File 23.93 KB 0755
source_libice.py File 23.93 KB 0755
source_libinput.py File 23.93 KB 0755
source_libmtp.py File 1.55 KB 0644
source_libpciaccess.py File 23.93 KB 0755
source_libsm.py File 23.93 KB 0755
source_libvdpau.py File 23.93 KB 0755
source_libwacom.py File 23.93 KB 0755
source_libx11.py File 23.93 KB 0755
source_libxau.py File 23.93 KB 0755
source_libxaw.py File 23.93 KB 0755
source_libxcb.py File 23.93 KB 0755
source_libxcomposite.py File 23.93 KB 0755
source_libxcursor.py File 23.93 KB 0755
source_libxdamage.py File 23.93 KB 0755
source_libxdmcp.py File 23.93 KB 0755
source_libxext.py File 23.93 KB 0755
source_libxfixes.py File 23.93 KB 0755
source_libxfont.py File 23.93 KB 0755
source_libxfontcache.py File 23.93 KB 0755
source_libxft.py File 23.93 KB 0755
source_libxi.py File 23.93 KB 0755
source_libxinerama.py File 23.93 KB 0755
source_libxkbcommon.py File 23.93 KB 0755
source_libxkbfile.py File 23.93 KB 0755
source_libxkbui.py File 23.93 KB 0755
source_libxmu.py File 23.93 KB 0755
source_libxpm.py File 23.93 KB 0755
source_libxrandr.py File 23.93 KB 0755
source_libxrender.py File 23.93 KB 0755
source_libxres.py File 23.93 KB 0755
source_libxss.py File 23.93 KB 0755
source_libxt.py File 23.93 KB 0755
source_libxtst.py File 23.93 KB 0755
source_libxv.py File 23.93 KB 0755
source_libxvmc.py File 23.93 KB 0755
source_libxxf86dga.py File 23.93 KB 0755
source_libxxf86vm.py File 23.93 KB 0755
source_linux-aws.py File 6.5 KB 0644
source_linux-azure.py File 6.5 KB 0644
source_linux-firmware.py File 6.5 KB 0644
source_linux-gcp.py File 6.5 KB 0644
source_linux-meta-aws.py File 6.5 KB 0644
source_linux-meta-azure.py File 6.5 KB 0644
source_linux-meta-gcp.py File 6.5 KB 0644
source_linux-meta-oracle.py File 6.5 KB 0644
source_linux-meta-raspi.py File 6.5 KB 0644
source_linux-meta-realtime.py File 6.5 KB 0644
source_linux-meta-riscv.py File 6.5 KB 0644
source_linux-meta.py File 6.5 KB 0644
source_linux-oracle.py File 6.5 KB 0644
source_linux-raspi.py File 6.5 KB 0644
source_linux-realtime.py File 6.5 KB 0644
source_linux-restricted-modules-aws.py File 6.5 KB 0644
source_linux-restricted-modules-azure.py File 6.5 KB 0644
source_linux-restricted-modules-gcp.py File 6.5 KB 0644
source_linux-restricted-modules-oracle.py File 6.5 KB 0644
source_linux-restricted-modules.py File 6.5 KB 0644
source_linux-riscv.py File 6.5 KB 0644
source_linux-signed-aws.py File 6.5 KB 0644
source_linux-signed-azure.py File 6.5 KB 0644
source_linux-signed-gcp.py File 6.5 KB 0644
source_linux-signed-oracle.py File 6.5 KB 0644
source_linux-signed-realtime.py File 6.5 KB 0644
source_linux-signed.py File 6.5 KB 0644
source_linux.py File 6.5 KB 0644
source_m2300w.py File 214 B 0644
source_mesa-demos.py File 23.93 KB 0755
source_mesa.py File 23.93 KB 0755
source_min12xxw.py File 216 B 0644
source_mtdev.py File 4.07 KB 0644
source_mysql-8.4.py File 3.71 KB 0644
source_nautilus.py File 898 B 0644
source_network-manager-applet.py File 2.97 KB 0644
source_network-manager.py File 2.97 KB 0644
source_papers.py File 546 B 0644
source_pixman.py File 23.93 KB 0755
source_plymouth.py File 1.38 KB 0644
source_pnm2ppa.py File 215 B 0644
source_pxljr.py File 213 B 0644
source_radeontool.py File 23.93 KB 0755
source_rastertosag-gdi.py File 223 B 0644
source_rhythmbox.py File 1.54 KB 0644
source_shadow.py File 720 B 0755
source_shim-signed.py File 1.95 KB 0644
source_shim.py File 1.95 KB 0644
source_simple-scan.py File 925 B 0644
source_splix.py File 213 B 0644
source_sudo.py File 1.13 KB 0755
source_system-config-printer.py File 229 B 0644
source_totem.py File 820 B 0644
source_ubiquity.py File 8.65 KB 0644
source_ubuntu-advantage-tools.py File 1.22 KB 0644
source_ubuntu-release-upgrader.py File 2.62 KB 0644
source_unattended-upgrades.py File 705 B 0644
source_update-manager.py File 2.49 KB 0644
source_usb-creator.py File 558 B 0644
source_wayland.py File 23.93 KB 0755
source_weston.py File 23.93 KB 0755
source_x-kit.py File 23.93 KB 0755
source_x11-apps.py File 23.93 KB 0755
source_x11-session-utils.py File 23.93 KB 0755
source_x11-utils.py File 23.93 KB 0755
source_x11-xfs-utils.py File 23.93 KB 0755
source_x11-xkb-utils.py File 23.93 KB 0755
source_x11-xserver-utils.py File 23.93 KB 0755
source_xauth.py File 23.93 KB 0755
source_xbitmaps.py File 23.93 KB 0755
source_xcb-proto.py File 23.93 KB 0755
source_xcompmgr.py File 23.93 KB 0755
source_xcursor-themes.py File 23.93 KB 0755
source_xdm.py File 23.93 KB 0755
source_xf86-input-evtouch.py File 23.93 KB 0755
source_xf86-input-mtrack.py File 23.93 KB 0755
source_xf86-input-wacom.py File 23.93 KB 0755
source_xfonts-core.py File 23.93 KB 0755
source_xfonts-utils.py File 23.93 KB 0755
source_xfs.py File 23.93 KB 0755
source_xft.py File 23.93 KB 0755
source_xinit.py File 23.93 KB 0755
source_xinput-calibrator.py File 23.93 KB 0755
source_xinput.py File 23.93 KB 0755
source_xkeyboard-config.py File 23.93 KB 0755
source_xorg-docs.py File 23.93 KB 0755
source_xorg-options-editor-gtk.py File 23.93 KB 0755
source_xorg-server.py File 23.93 KB 0755
source_xorg-sgml-doctools.py File 23.93 KB 0755
source_xorg.py File 23.93 KB 0755
source_xorgproto.py File 23.93 KB 0755
source_xrandr.py File 23.93 KB 0755
source_xrestop.py File 23.93 KB 0755
source_xserver-xorg-input-evdev.py File 23.93 KB 0755
source_xserver-xorg-input-joystick.py File 23.93 KB 0755
source_xserver-xorg-input-libinput.py File 23.93 KB 0755
source_xserver-xorg-input-mouse.py File 23.93 KB 0755
source_xserver-xorg-input-synaptics.py File 23.93 KB 0755
source_xserver-xorg-input-vmmouse.py File 23.93 KB 0755
source_xserver-xorg-input-wacom.py File 23.93 KB 0755
source_xserver-xorg-video-amdgpu.py File 23.93 KB 0755
source_xserver-xorg-video-ati.py File 23.93 KB 0755
source_xserver-xorg-video-dummy.py File 23.93 KB 0755
source_xserver-xorg-video-fbdev.py File 23.93 KB 0755
source_xserver-xorg-video-intel.py File 23.93 KB 0755
source_xserver-xorg-video-mga.py File 23.93 KB 0755
source_xserver-xorg-video-nouveau.py File 23.93 KB 0755
source_xserver-xorg-video-openchrome.py File 23.93 KB 0755
source_xserver-xorg-video-qxl.py File 23.93 KB 0755
source_xserver-xorg-video-vesa.py File 23.93 KB 0755
source_xserver-xorg-video-vmware.py File 23.93 KB 0755
source_xterm.py File 23.93 KB 0755
source_xtrace.py File 23.93 KB 0755
source_xtrans.py File 23.93 KB 0755
source_xutils-dev.py File 23.93 KB 0755
source_yelp.py File 905 B 0644
subiquity.py File 5.13 KB 0644
systemd.py File 871 B 0644
ubuntu-desktop-bootstrap.py File 3.13 KB 0644
ubuntu-drivers-common.py File 270 B 0644
udev.py File 455 B 0644
udisks2.py File 752 B 0644
vsftpd.py File 1.03 KB 0644
whoopsie.py File 703 B 0644
xserver-xorg-core.py File 23.93 KB 0755
Filemanager