local script = string.dump(
function()
--Content
print("BeforeRequestHeaderSend RequestHeaderReceived ª @@ E€ FÀÀ €€ € €€ €Á‚@'€€ ÀA B !€ @B E€ F€Â À €€E F à € Á@ \€ …€ †ÀCÀ € œ€ DÀ€Å Æ@ BAA Ü€€Ú À€Å€ Á A A Å Æ‚ AÂ É ‰Å€ ɀƌŀ ÉÀÆ‚À€Å Æ@ BAÁ Ü€€ C@€ Á E FÀ€ÁA ‚ \ … †CÀ€‚ A‚ œ Á AB ‚ À€Ã A C ÕƒÇÁ Å ÆÉ ÜA Å ÆÁÉ A ÜA€Å ÆA‚ ‚BAB Ü€Ú À€Å  A B Å‚ Ƃƒ Aà ‚ɉŠÉƌŠÉÁÆ‚Å ÆÊB
ÜA
€Å  A B Å‚ Ƃƒ
Aà ‚ɉŠÉƌŠÉÁÆ‚Å ÆÊB
ÜA €€ ÀÊŒ€ Ë‚ @B E€ F€Â À €€E F à € Á@ \€ …€ †ÀIÀ € A œ@€ € . re match hc request_header ^User\-Agent:\sHandyCache\r\n monitor_string hc_patch cache_file_size find url ^http://.*?/.*?(\?.*|$) replace ^(http://.*?/.*?)(\?.*|$) \1 get_global EXIST ^.*\?.* answer_header % HTTP/1.1 301 Moved Temporarily(HC)
Server: HandyCache
Location: &hc_looping
Content-Length: 0
Connection: close
action
dont_save skip ^http://.*?(/.*?(\?.*|$)) ^http://(.*?)/.*?(\?.*|$) ^(http://(.*?/.*?)(\?.*|$) hdr GET HTTP/1.1
Host:
User-Agent: HandyCache
Connection: Keep-Alive
send_request set_global sleep p§@ ?hc_looping
dont_update HIT ª xurl “ xchk “ xcheck “ xurl ? “ xget E “ xhost K “ xchk Q “ xurl ž © xchk ¤ ©
' @@ E€ FÀÀ €€ @€ @A E€ FÀÀ €€E F€Á € ÁÀ \€ …€ Á€ Á A €€ ÁA ‚ A Õ@‚‰À€„…€ ‰@Dˆ…€ ‰ÀD‰…€ † EÁ@ œ@ € re match hc url ^.*(\&|\?)hc\_looping find replace (^.*)(\&|\?)hc\_looping \1 answer_header % HTTP/1.1 301 Moved Temporarily(HC)
Server: HandyCache
Location:
Content-Length: 0
Connection: close
action
dont_save monitor_string skip sleep p§@ ' prexurl & xurl & ")
end)
buff = ""
for v = 1, string.len(script) do
--Convert our string into a hex string.
buff = buff..'\\'..string.byte(script, v)
end
-- Output after encode/obfuscate
print(buff)
--function to decode the above script
function decodeme(encoded)
encoded = encoded:gsub("\\", ",")
encoded = string.sub (encoded, 2)
source = ""
for token in string.gmatch(encoded, "%d+") do
source = source.. (string.char(token))
end
return source
end
-- Output after decode/deobfuscate
print(loadstring(decodeme(buff))())