반응형
Malware Scanner and Removal
https://malware.expert/malware-scanner-and-removal/
** 먼저 ClamAV, Clamd 설치 필요
yum install epel-release
yum -y install clamav clamd
스크립트 다운로드
This script working cPanel/DirectAdmin and others linux servers where clamav scanner is installed.
# wget http://cdn.malware.expert/malware.expert.scanner.sh
Download Direct: http://cdn.malware.expert/malware.expert.scanner.sh
추가 DB
/etc/freshclam.conf 파일에 추가
DatabaseCustomURL http://signatures.malware.expert/serial_key_here/malware.expert.ndb
DatabaseCustomURL http://signatures.malware.expert/serial_key_here/malware.expert.hdb
DatabaseCustomURL http://signatures.malware.expert/serial_key_here/malware.expert.hsb
DatabaseCustomURL http://signatures.malware.expert/serial_key_here/malware.expert.ldb
DatabaseCustomURL http://signatures.malware.expert/serial_key_here/malware.expert.yara
DatabaseCustomURL http://signatures.malware.expert/serial_key_here/malware.expert.fp
사용법:
Execute or chmod 750 script and then execute:
# bash malware.expert.scanner.sh
Output
+---------------------------------------------------------------------+
| Malware Expert - Malware Scanner & Removal (v1.0.6) |
| |
| https://malware.expert |
| support@malware.expert |
| |
+---------------------------------------------------------------------+
| USAGE: |
| /root/malware.expert.scanner.sh scan <path> |
| /root/malware.expert.scanner.sh --exclude='regex_pattern' scan <path> |
| /root/malware.expert.scanner.sh clean <path> |
| /root/malware.expert.scanner.sh restore <path> |
| /root/malware.expert.scanner.sh restore <path> force |
| /root/malware.expert.scanner.sh delete <path> |
| /root/malware.expert.scanner.sh update |
| /root/malware.expert.scanner.sh update force |
| |
| EXAMPLE: |
| /root/malware.expert.scanner.sh scan ./public_html |
| /root/malware.expert.scanner.sh clean /home/user/ |
| /root/malware.expert.scanner.sh --exclude='\.(zip|tar\.gz)$' scan ./ |
+---------------------------------------------------------------------+
Scan public_html folder
DirectAdmin or cPanel Server scan current folder:
# bash malware.expert.scanner.sh scan ./
반응형
'Linux' 카테고리의 다른 글
ROCKY 8 설치후 초기 세팅 (0) | 2024.07.11 |
---|---|
rsync 패스워드 없이 접속하기 (1) | 2024.01.26 |
Rocky Linux에서 PHP OCI8 확장 모듈을 설치 (0) | 2023.07.10 |
CentOS7 + nginx 1.23 + php7.0 + php-fpm + MariaDB 10.3 설치 (0) | 2023.05.15 |
CentOS7 Minimal 설치 후 설치해야 하는 것 처음, 초기설치 (1) | 2023.05.08 |
댓글