HEX
Server: Apache/2.4.65 (Debian)
System: Linux srv39710 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
User: root (0)
PHP: 8.4.11
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Upload Files
File: //etc/bitninja/WAFManager/config.ini
[nginx]
;binaryLocation  = '/opt/bitninja-waf/sbin/nginx'
;configLocation = '/opt/bitninja-waf/etc/nginx.conf'
;workingDirectory = '/opt/bitninja-waf/etc/'
;pidFileLocation = '/var/run/bitninja-waf.pid'
;pidfile = '/var/run/bitninja-waf.pid'
;group = 'bitninja-waf'
;user = 'bitninja-waf'
;configPermission = '0644'
;sciptPermission = '0644'
;updateConfigOnStart = 1
;Nginx body files older than this value will be automatically deleted every hour.
;This value is in seconds (86400 = 1 day)
;deleteInterval = 86400
; HAPRoxy loadbalancer infront of Nginx ModSecurity reverse proxy. Default setting
;httpFrontendPort = 60415
;
; Enable WAF on Interfaces only.
; The default redirection option is for public ips only.
;
;proxy_read_timeout = 300
; Default value 0, it does not change worker connections
;worker_connections = 1024

[redirect_options]
;redirection_mode = 'dnat'
;redirection_mode = 'tproxy'
;redirection_mode = 'transparent'

;interface[]='eth0'
;interface[]='eth1'
;ipv6_interface[]='eth0'
;ipv6_interface[]='eth1'
[honeypots]
;generate_honeypots_on_start=0
[actionmanager]
;log_dir = '/var/log/bitninja/WAFManager'
;auditlog_dir = '/var/log/bitninja-waf'
;modsecurity_log_delete = 1
;default_actions[]='LogToFile'
;default_actions[]='SendToShogun'
;default_actions[]='Auditlog'
; Rule specific changes
; To instantly blacklist IP caught by user defined honeypot uri-s
;secrule[10] = 'BlackList'

;secrule[1111] = 'LogToFile,SendToShogun'
;secrule[1112] = 'disableSendToFile'
;enable_action_LogToFile[]=111111
;enable_action_SendToShogun[]=111112
;disable_action_LogToFile[]=111113
;disable_action_SendToShogun[]=111114