⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.96
Server IP:
147.93.97.220
Server:
Linux srv843233 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
uwsgi-core
/
examples
/
router
/
View File Name :
router.lua
print("uWSGI Lua router") uwsgi.log("i am ready") function route(env) print(env.REQUEST_URI) html = uwsgi.cache_get(env.REQUEST_URI) local function send_cache() coroutine.yield(html) end local function body() page = "" parts = { uwsgi.send_message("127.0.0.1:3033", 0, 0, env, 30, uwsgi.req_fd(), uwsgi.cl()) } for i, part in pairs(parts) do page = page .. part coroutine.yield(part) end uwsgi.cache_set(env.REQUEST_URI, page) end if html then return nil,{}, coroutine.wrap(send_cache) end return nil,{}, coroutine.wrap(body) end return route