logo
  • هۆستینگ
    Web Hostingوێب هۆستینگ Web Hostingوۆردپرێس هۆستینگ Reseller hostingڕیسێلەر هۆستینگ
  • ڤی پی ئێس
    vpsلینوکس ڤی پی ئێس aapanel vpsئەی ئەی پانێل ڤی پی ئێس
  • ویندۆوس ڤی پی ئێس
    windows rdpویندۆوس ڤی پی ئێس trading vpsترەیدینگ ڤی پی ئێس
  • دۆمەین
    domain registerدۆمەین تۆمارکردن domain transferدۆمەین گواستنەوە domain whoisدۆمەین زانیاری
  • دەربارە
    contact usپەیوەندی کردن about usدەربارەی ئێمە blogبلۆگ
  • چونە ژورەوە
  • Kurdish
    EnglishEnglish arabicArabic HindiHindi ItalyItaly TurkishTurkish
  1. Home
  2. Blog
  3. How to Install / Uninstall ConfigServer eXploit Scanner (cxs)

How to Install / Uninstall ConfigServer eXploit Scanner (cxs)

Rozhgur Rozhgur, 17 Mar 2022 | time 4 minutes read | 151 Views
How to Install / Uninstall ConfigServer eXploit Scanner (cxs)

The CXS is a commercial product, so you need to purchase a license from their website at Configserver. Once ConfigServer informed you that your license has been activated, you can install cxs. First  perform the following in a root shell on your server via SSH:


If using an IPv6 license, replace ipv4 with ipv6 below

1. installation:


# cd /usr/src
# wget https://download.configserver.com/cxsinstaller.tgz
# tar -xzf cxsinstaller.tgz
# perl cxsinstaller.pl ipv4
# rm -fv cxsinstaller.*

2. Create a directory for quarantining malware files:


# cxs –qcreate –quarantine /etc/cxs/quarantine

3. Add the following line to the cxswatch.sh file:


/usr/sbin/cxs –options -wW –Wstart –allusers –www –smtp –ignore /etc/cxs/cxs.ignore –qoptions Mv –quarantine /etc/cxs/quarantine –log /var/log/cxs.log –Wmaxchild 3 –Wloglevel 0 –Wsleep 3 –filemax 0 –Wrateignore 300

4. Add the following line to the cxsftp.sh file:


/usr/sbin/cxs –quiet –ftp –quarantine /etc/cxs/quarantine –logfile /var/log/cxs.log –mail [email protected] “$1”

5. Add the following line to the cxsdaily.sh file:


/usr/sbin/cxs –qclean 7 –quarantine /etc/cxs/quarantine –quiet

6. Create a log file for CXS by executing the below commands:


# touch /var/log/cxs.log
# chmod 630 /var/log/cxs.log

7. Enable CallUploadScript function in pure-FTP configuration file at /etc/pure-ftpd.conf:


# ln -s /etc/cxs/cxsdaily.sh /etc/cron.daily/

8. Create a new Cron job for scanning all the files on a daily basis:


0   4   *   *   *   root  /usr/sbin/cxs –logfile /var/log/cxs.log –mail [email protected] –exploitscan –virusscan –sversionscan –bayes -I /etc/cxs/cxs.ignore -Q /etc/cxs/quarantine –options mMOLfSGchexdnwZRD –voptions mfuhexT –qoptions Mv -Z –www –summary –html –ssl -C /var/clamd –nofallback -T 5 –ctime 48 –allusers –quiet

9. Start CXS service and on check config to automatically start during boot time:


# service cxswatch start
# chkconfig cxswatch on

Sometimes the initial start-up will take little resources depending on the number of cPanel accounts, once it completes, it uses almost no resources and will work properly in the background.


Uninstall CXS:


# cd /etc/cxs
# sh uninstall.sh
# cd /root

if you need any further information, please reach our support department.

Popular Posts
How to Install / Uninstall ConfigServer eXploit Scanner (cxs)

How to Install / Uninstall ConfigServer eXploit Scanner (cxs)

Rozhgur Rozhgur, 17 Mar 2022 | time 4 minutes read
The CXS is a commercial product, so you need to purchase a license from their... Read More
How to unblock IP on WHM - Reseller website

How to unblock IP on WHM - Reseller website

Rozhgur Rozhgur, 07 May 2022 | time 2 minutes read
How to unblock IP on WHM - Reseller website A firewall is commonly built to... Read More
Centos clean up disk space

Centos clean up disk space

Rozhgur Rozhgur, 17 Mar 2022 | time 4 minutes read
If you've found this page, it's most likely because you're seeking for a solution to... Read More
Regxa

ڕێگکسا دامەزرا بۆ بەردەستکردنی باشترین کوالێتی، خێرایی، هەرزانترین نرخ و جێبەجێکردنی زیرەکانە لە خزمەتگوزاریەکانی وێب هۆستینگ لە جیهان

  • Facebook
  • twitter
  • Linkedin
  • youtube
4.9 Average 294 Reviews
وێب هۆستینگ
  • سی پەنێڵ هۆستینگ
  • وۆردپرێس هۆستینگ
  • لاراڤێڵ هۆستینگ
  • نۆدجەی ئێس هۆستینگ
  • ڕیسێلەر هۆستینگ
ڤی پی ئێس
  • ڤی پی ئێس هۆستینگ
  • لینوکس ڤی پی ئێس
  • ویندۆوس ڤی پی ئێس
  • ترەیدینگ ڤی پی ئێس
  • ئەی ئەی پانێل ڤی پی ئێس
دۆمەین
  • دۆمەین تۆمارکردن
  • دۆمەین گواستنەوە
  • دۆمەین زانیاری
کۆمپانیا
  • دەربارەی ئێمە
  • پەیوەندی کردن
  • یاسای بەکارهێنان
  • کارایی خزمەتگوزاریەکان
© 2022 - کۆمپانیای ڕێگکسا سنوردارە. هەموو مافەکان پارێزراوە
Bitcoin Bitcoin Bitcoin Bitcoin Bitcoin Bitcoin Bitcoin Bitcoin Bitcoin Bitcoin Tether ethereum shiba inu Doge Lite Coin XRP ADA