__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
"""Legacy logging functions."""

import os
import sys
import time
import typing


def log(message, timestamp=False):
    """Log the given string to stdout. Prepend timestamp if requested."""
    if timestamp:
        sys.stdout.write(f"{time.strftime('%x %X')}: ")
    print(message)


def fatal(msg: str, *args: typing.Any) -> typing.NoReturn:
    """Print out an error message and exit the program."""
    error(msg, *args)
    sys.exit(1)


def error(msg, *args):
    """Print out an error message."""
    if sys.stderr:
        sys.stderr.write("ERROR: ")
        sys.stderr.write(msg % args)
        sys.stderr.write("\n")


def warning(msg, *args):
    """Print out an warning message."""
    if sys.stderr:
        sys.stderr.write("WARNING: ")
        sys.stderr.write(msg % args)
        sys.stderr.write("\n")


def memdbg(checkpoint):
    """Print current memory usage.

    This is only done if $APPORT_MEMDEBUG is set.
    """
    if "APPORT_MEMDEBUG" not in os.environ or not sys.stderr:
        return

    memstat = {}
    with open("/proc/self/status", encoding="utf-8") as status_file:
        for line in status_file:
            if line.startswith("Vm"):
                (field, size, _) = line.split()
                memstat[field[:-1]] = int(size) / 1024.0

    sys.stderr.write(
        f"Size: {memstat['VmSize']:.1f} MB, RSS: {memstat['VmRSS']:.1f} MB,"
        f" Stk: {memstat['VmStk']:.1f} MB @ {checkpoint}\n"
    )

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
crashdb_impl Folder 0755
packaging_impl Folder 0755
REThread.py File 2.3 KB 0644
__init__.py File 657 B 0644
crashdb.py File 34.17 KB 0644
fileutils.py File 21.9 KB 0644
hookutils.py File 35.42 KB 0644
logging.py File 1.41 KB 0644
packaging.py File 12.81 KB 0644
report.py File 74.28 KB 0644
sandboxutils.py File 12.72 KB 0644
ui.py File 77.96 KB 0644
user_group.py File 933 B 0644
Filemanager