����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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:

deexcl@216.73.217.71: ~ $
# -*- coding: utf-8 -*-
# Copyright: (c) 2019, XLAB Steampunk <steampunk@xlab.si>
#
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

from __future__ import absolute_import, division, print_function
__metaclass__ = type

import json

try:
    from ssl import CertificateError
except ImportError:
    # This will never match the ssl exception, which will cause exception to
    # bubble up the call stack.
    class CertificateError(Exception):
        pass

from ansible.module_utils.six.moves.urllib.error import HTTPError, URLError
from ansible.module_utils.urls import open_url

from . import errors, debug


class Response:
    def __init__(self, status, data):
        self.status = status
        self.data = data
        self._json = None

    @property
    def json(self):
        if self._json is None:
            try:
                self._json = json.loads(self.data)
            except TypeError:  # Handle python 3.5 returning bytes
                try:
                    self._json = json.loads(self.data.decode('utf-8'))
                except ValueError:
                    self._json = None
            except ValueError:  # Cannot use JSONDecodeError here (python 2)
                self._json = None

        return self._json


def request(method, url, payload=None, data=None, headers=None, **kwargs):
    if payload is not None:
        data = json.dumps(payload, separators=(",", ":"))
        headers = dict(headers or {}, **{"content-type": "application/json"})

    try:
        raw_resp = open_url(
            method=method, url=url, data=data, headers=headers, **kwargs
        )
        resp = Response(raw_resp.getcode(), raw_resp.read())
        debug.log_request(method, url, payload, resp)
        return resp
    except HTTPError as e:
        # This is not an error, since client consumers might be able to
        # work around/expect non 20x codes.
        resp = Response(e.code, e.reason)
        debug.log_request(method, url, payload, resp)
        return resp
    except URLError as e:
        debug.log_request(method, url, payload, comment=e.reason)
        raise errors.HttpError(
            "{0} request failed: {1}".format(method, e.reason),
        )
    except CertificateError as e:
        raise errors.HttpError("Certificate error: {0}".format(e))

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
arguments.py File 3.27 KB 0644
bonsai.py File 2.09 KB 0644
client.py File 4.48 KB 0644
debug.py File 1.65 KB 0644
errors.py File 719 B 0644
http.py File 2.29 KB 0644
role_utils.py File 2.12 KB 0644
utils.py File 4.94 KB 0644