-
Getting Started
-
App Portal
-
Features
-
cPGuard Lite
-
Command line
-
User plugin
- Articles coming soon
-
FAQs
- Reissue license
- Notify users on outdated CMS
- Restore a file
- Blacklist a file
- Whitelist files
- Start manual files scan
- Exclude domain from bot attack and captcha check
- SRBL - Whitelist domain or sender IP Address
- Enable Ioncube in cPanel PHP
- Grant server access to support
- How to fix the agent error in App Portal
- Whitelist a WAF rule ID
- Run a hook script after file detection
- Whitelist a user in the scanner engine
- What is inotify watch and how will it affects server performance
- Migrate license to a new server or IP Address
- Tagging Servers
- How to install cPGuard Standalone
- How do we calculate the number of users on a server
- Add additional directories to automatic scan list
- cPGuard WAF required settings and depencies
- So many cpguard-job-logs::fetchlogs processes running
- Install ModSecurity with Nginx on CentOS/RockyLinux/AlmaLinux
- How to install latest ModSecurity 2.9.7 with Apache - Install ModSecurity 2.9.7 with Apache
- How to whitelist an IP address
- How to report a file?
- Block PHP script upload using cPGuard WAF
- cPGuardĀ LicenseĀ abuseĀ is detected
- Webuzo Security using cPGuard - Webuzo Antivirus - Webuzo Antimalware
- Block countries from accessing your websites and server
- Import and export cPGuard configuration
- Customising/Branding the email Templates (user emails)
- Show all articles ( 17 ) Collapse Articles
-
General
- Migrating cPGuard V3 to V4
- Uninstalling cPGuard
- Overriding WordPress cron job
- Install ModSecurity with Nginx on Debian/Ubuntu
- How do we calculate the number of users on a server
- How to install latest ModSecurity 2.9.7 with Apache - Install ModSecurity 2.9.7 with Apache
- Bulk Action - Run an action against multiple servers
- How to whitelist an IP address
- How to report a file?
- Block PHP script upload using cPGuard WAF
- cPGuardĀ LicenseĀ abuseĀ is detected
- Request body excluding files is bigger than the maximum - Request body no files data length is larger than the configured limit
- Block countries from accessing your websites and server
- Import and export cPGuard configuration
- IPDB Error ::(nf_tables): table `filter' is incompatible, use 'nft' tool
-
Change Logs
-
Standalone
- cPGuard Standalone Configuration
- How to modify standalone configuration file cpguard.ini
- How to install cPGuard Standalone
- How to secure the websites on a Webmin/Virtualmin server using cPGuard
- Install ModSecurity with Nginx on Debian/Ubuntu
- Secure websites on Control Web Panel / CWP Server
- Installing cPGuard on Enhance panel
- How to install latest ModSecurity 2.9.7 with Apache - Install ModSecurity 2.9.7 with Apache
- Secure websites on Interworx Control Panel
-
Standalone Panels
-
WAF
- cPGuard WAF required settings and depencies
- Install ModSecurity with Nginx on Debian/Ubuntu
- Whitelist a WAF rule ID
- WAF Integration
- Web Application Firewall
- Install ModSecurity with Nginx on CentOS/RockyLinux/AlmaLinux
- How to install latest ModSecurity 2.9.7 with Apache - Install ModSecurity 2.9.7 with Apache
- Block PHP script upload using cPGuard WAF
- Request body excluding files is bigger than the maximum - Request body no files data length is larger than the configured limit
- What is Proxy IP Check in WAF
- Debug WAF blocking
-
cPGuard X
- cPGuard X Installation
- How to switch webserver
- How to Create a New Website from the Control Panel
- How to Migrate a Website to cPGuardX
- Managing PHP Settings in the Control Panel
- Service Management and Monitoring in Control Panel
- Managing and Scheduling Website Backups
- Adding Alias or Addon Domains to Your Website
- Enforcing HTTPS for Your Website
- Nginx Configuration Management via GUI
- Global PHP Settings via Panel Settings (Server-Wide)
- Introducing Lynis: Enhanced Server Security Auditing
- SSH Authentication & GitHub Integration
- Managing SSL Certificates
- Enabling PHP Extensions in the GUI
- Guide to Installing Additional PHP Modules Using PECL
- Show all articles ( 1 ) Collapse Articles
Add additional directories to automatic scan list
5 out of 5 stars
2 ratings
5 Stars | 100% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
What is cPGuard Watchlist
cPGuard is a Web Security Suite, written in its core to scan website files and find the threats in them. By default, it will try to identify the website document roots configured on the server, compile a list of such directories and automatically scan for updated/uploaded files in such directories which are publically accessible. We call it a watchlist and you can find the file at /etc/cpguard/watchlist.txt .
How to add an additional directory path to the watchlist
But in certain cases, users may need to add additional directories outside of their document root ( like a directory into which files are uploaded using a web form or gallery software ). cPGuard provides an option to add additional directories to the automatic scanner watchlist using its “cpgcli” CLI tool. Please note that cPGuard scanner engine is supposed to scan only the website files…we do not recommend you to add a system directory to the automatic scanner because scanning system files and taking action on them may cause unexpected system errors.
You can add an additional directory to the watchlist using the following command.
- Directory-Path – The complete path of the directory which you wish to add/removeĀ
cpgcli watch --add Directory-Path
To list the additional watch list directories you have added, use the following command
cpgcli watch --list
To removeĀ a directory path from the additional watchlist, you can use the following command
cpgcli watch --remove Directory-Path
5 out of 5 stars
2 ratings
5 Stars | 100% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |