403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.168
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/thread-self/root/usr/share/apport/symptoms/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/usr/share/apport/symptoms/installer.py
# ubuntu-release-upgrader related problems
# Author: Brian Murray <brian.murray@canonical.com>
# (C) 2020 Canonical Ltd.
# License: GPL v3 or later.

import os

def run(report, ui):
    if not os.path.exists('/var/log/installer'):
        return
    with os.scandir('/var/log/installer') as entries:
        for entry in entries:
            if entry.name.startswith('subiquity'):
                return 'subiquity'
            elif entry.name == 'telemetry':
                return 'ubiquity'
            # d-i leaves a few unique things including
            # lsb-release, hardware-summary, status
            elif entry.name == 'status':
                return 'debian-installer'

Youez - 2016 - github.com/yon3zu
LinuXploit