mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
11 lines
199 B
Lua
11 lines
199 B
Lua
#!/usr/bin/lua
|
|
|
|
function main(filename)
|
|
local file = io.open(filename, 'r')
|
|
local chunk = file:read(1024)
|
|
local ret = string.match(chunk, 'abcdef')
|
|
io.close(file)
|
|
|
|
return ret
|
|
end
|