lua 基于apache ,过滤php敏感函数,自动添加黑名单

-- /etc/httpd/lua/ip2blacklist.lua --

require 'apache2'


function ip2blacklist(r)
    local sensitiveWords = {
   'eval','exec','system','shell_exec','passthru','popen'<

你可能感兴趣的:(lua,apache,php)