⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.112
Server IP:
65.21.180.239
Server:
Linux gowhm.eplangoweb.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.0.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
elinks-data
/
examples
/
lua
/
View File Name :
highlight.lua
-- Source-code highlighting hook highlight_file_types = { patch = "%.patch$", python = "%.py$", perl = "%.pl$", awk = "%.awk$", c = "%.[ch]$", sh = "%.sh$", } function highlight (url, html) for language,pattern in pairs(highlight_file_types) do if string.find (url, pattern) then local tmp = tmpname () writeto (tmp) write (html) writeto() html = pipe_read ("(code2html -l "..language.." "..tmp.." - ) 2>/dev/null") os.remove(tmp) return html,nil end end return nil,nil end table.insert(pre_format_html_hooks, highlight)