Kerala Cyber
Warriors
KCW Uploader V1.1
;cPGuard standalone configuration
;===============================================
;Use `cpgcli standalone-conf --update` to validate
;and apply the configuration after modifying this file
;Webserver name
;----------------
;The Server which has virtual hosts configuration
;[Allowed options apache/nginx/litespeed/openlitespeed]
web_server =
;Webserver configuration
;------------------------
;The file having domain name and document root declarations
;Examples
;/etc/apache2/sites-enabled/*.conf,
;/home/*/apache.conf,
;/etc/apache2/apache2.conf;
;/etc/nginx/nginx.conf
web_server_conf =
;Domain, Document-root & User source
;------------------------------------
;Used for creating watchlist for automatic scanning, domain list, for various whitelists etc
;If empty, cPGuard will attempt to use `web_server_conf` for building the list
;Path to a JSON file (extension should be .json) or an executable script that generates JSON
;Enter 'auto' to automatically identify panel and use premade script if available
;The JSON should be in the following format:
;[
; {
; "domain": "example.com",
; "docroot": "/home/username/public_html/",
; "user": "username"
; },
; {
; "domain": "subdomain.example.com",
; "docroot": "/home/username/subdomain/",
; "user": "username"
; }
;]
domain_list = auto
;User & Email data
;------------------
;Used for creating userlist, sending user notification emails etc
;If empty, the modules that use this data will be disabled
;Path to a JSON file (extension should be .json) or an executable script that generates JSON
;Enter 'auto' to automatically identify panel and use premade script if available
;The JSON structure should be similar to the following:
;[
; {
; "user": "subdomain",
; "email": "mail@example.com"
; },
; {
; "user": "subdomain",
; "email": "mail@example.com"
; }
;]
user_list = auto
;Automatic account suspension script
;------------------------------------
;A php code that can be triggered/executed when a user suspend event occurs in cPGuard
;The provided file will be copied to /opt/cpguard/app/script/suspend_hook.php
;Enter 'auto' to automatically identify panel and use premade script if available
;Refer help document for more information on hooks
suspend_hook = auto
;WAF server name
;----------------
;The server in which ModSecurity is installed and WAF rules should be loaded
;You need ModSecurity version 2.9.4 or higher to enable cPGuard WAF on your server
;Leave empty if ModSecurity is not installed (cPGuard WAF module will be disabled);
;[Allowed options apache/nginx/litespeed/openlitespeed]
waf_server =
;WAF Server configuration
;-------------------------
;The file into which we can include cPGuard WAF ModSecurity configuration/rules
;If file exists new lines will be appended else a file will be created at the location
;Example /etc/modsecurity/cpguard.conf
waf_server_conf =
;WAF webserver restart command
;------------------------------
;Used for restarting server after updating ModSecurity configuration
;Make sure to provice full path to executables
;Example /usr/sbin/service httpd restart
waf_server_restart_cmd =
;WAF Audit Log location
;-----------------------
;If empty, cPGuard will automatically try known locations.
;Examples
;/var/log/modsec_audit.log
;/var/log/nginx/error_log
;/var/log/nginx/modsec_audit.log
;/var/log/httpd/modsec_audit.log
;/var/log/apache2/modsec_audit.log
;/usr/local/lsws/logs/error.log
;/etc/apache2/logs/modsec_audit.log
waf_audit_log =
;WAF Server Error Log location
;------------------------------
;If empty, cPGuard will automatically try known locations.
;Examples
;/var/log/httpd/error_log
;/var/log/nginx/error_log
;/etc/apache2/logs/error_log
;/usr/local/lsws/logs/error.log
waf_server_error_log =
-=[ KCW uplo4d3r c0ded by cJ_n4p573r ]=-
Ⓒ2017 ҠЄГѦLѦ СүѣЄГ ЩѦГГіѺГՏ