!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/apport/package-hooks/   drwxr-xr-x
Free 13.09 GB of 57.97 GB (22.58%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     subiquity.py (1.35 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
'''
Send reports about subiquity to the correct Launchpad project.

'''
import os

from apport import hookutils


def add_info(report, ui):
    # TODO: read the version from the log file?
    logfile = os.path.realpath('/var/log/installer/subiquity-debug.log')
    revision = 'unknown'
    if os.path.exists(logfile):
        hookutils.attach_file(report, 'logfile', 'InstallerLog')
        with open(logfile) as fp:
            first_line = fp.readline()
        marker = 'Starting Subiquity revision'
        if marker in first_line:
            revision = first_line.split(marker)[1].strip()
    report['Package'] = 'subiquity ({})'.format(revision)
    report['SourcePackage'] = 'subiquity'
    # rewrite this section so the report goes to the project in Launchpad
    report['CrashDB'] = '''{
       "impl": "launchpad",
       "project": "subiquity",
       "bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml"
    }'''

    # add in subiquity stuff
    hookutils.attach_file_if_exists(
        report,
        '/var/log/installer/subiquity-curtin-install.conf',
        'CurtinConfig')
    hookutils.attach_file_if_exists(
        report,
        '/var/log/installer/curtin-install.log',
        'CurtinLog')
    hookutils.attach_file_if_exists(
        report,
        '/var/log/installer/block/probe-data.json',
        'ProbeData')

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0054 ]--