Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
uaclient /
api /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
u
[ DIR ]
drwxr-xr-x
__init__.py
0
B
-rw-r--r--
api.py
4.29
KB
-rw-r--r--
data_types.py
1.91
KB
-rw-r--r--
errors.py
1.77
KB
-rw-r--r--
exceptions.py
1.42
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : errors.py
from typing import Dict, Optional from uaclient.api.data_types import APIResponse, ErrorWarningObject from uaclient.exceptions import UserFacingError from uaclient.messages import WARN_NEW_VERSION_AVAILABLE from uaclient.util import get_pro_environment from uaclient.version import check_for_new_version def error_out(exception: Exception) -> APIResponse: if isinstance(exception, (UserFacingError, APIError)): error = ErrorWarningObject( title=exception.msg, code=exception.msg_code or "generic-" + exception.__class__.__name__, meta=exception.additional_info or {}, ) else: error = ErrorWarningObject( title=str(exception), code="generic-" + exception.__class__.__name__, meta={}, ) warnings = [] new_version = check_for_new_version() if new_version: warnings.append( ErrorWarningObject( title=WARN_NEW_VERSION_AVAILABLE.format( version=new_version ).msg, code=WARN_NEW_VERSION_AVAILABLE.name, meta={}, ) ) return APIResponse( _schema_version="v1", result="failure", data={ "meta": { "environment_vars": [ {"name": name, "value": value} for name, value in sorted(get_pro_environment().items()) ], } }, errors=[error], warnings=warnings, ) class APIError(UserFacingError): def __init__( self, msg: str, msg_code: str = "api-error", additional_info: Optional[Dict[str, str]] = None, ) -> None: super().__init__(msg, msg_code, additional_info)
Close