PATH: //opt/imunify360-webshield/lualib/resty
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 aes.lua
↓
X
📄 cookie.lua
↓
X
📁 core/
X
📄 core.lua
↓
X
📁 dns/
X
📄 http.lua
↓
X
📄 http_headers.lua
↓
X
📁 limit/
X
📄 lock.lua
↓
X
📁 lrucache/
X
📄 lrucache.lua
↓
X
📄 md5.lua
↓
X
📄 random.lua
↓
X
📄 sha.lua
↓
X
📄 sha1.lua
↓
X
📄 sha224.lua
↓
X
📄 sha256.lua
↓
X
📄 sha384.lua
↓
X
📄 sha512.lua
↓
X
📄 shell.lua
↓
X
📄 signal.lua
↓
X
📄 string.lua
↓
X
📁 template/
X
📄 template.lua
↓
X
📁 upstream/
X
📁 websocket/
X
SAVING...
BERHASIL DIUBAH!
EDITING: random.lua
-- Copyright (C) by Yichun Zhang (agentzh) local ffi = require "ffi" local ffi_new = ffi.new local ffi_str = ffi.string local C = ffi.C --local setmetatable = setmetatable --local error = error local _M = { _VERSION = '0.16' } ffi.cdef[[ int RAND_bytes(unsigned char *buf, int num); int RAND_pseudo_bytes(unsigned char *buf, int num); ]] function _M.bytes(len, strong) if strong == nil then strong = true end local buf = ffi_new("char[?]", len) if strong then if C.RAND_bytes(buf, len) == 0 then return nil end else C.RAND_pseudo_bytes(buf,len) end return ffi_str(buf, len) end return _M
SIMPAN PERUBAHAN