How to scan the website with Ai-Bolit (Linux)

  Tools

AI-BOLIT – is Antivirus/Malware Scanner For Websites and Hosting.

In order to scan the directory, perform the steps below:

1. Go to ai-bolit website https://www.revisium.com/aibo/ and download the unix version

null

2. When download started, copy the download link from the web browser:

null

3. Download ai-bolit zip archive to the server using wget command:

wget https://revisium.com/aibo/index.php?q=427138815151269845019392405783539

4. unzip archive:


unzip index.php\?q\=427138815151269845019392405783539

5. Go to ai-bolit folder


cd ai-bolit

6. run the script ai-bolit.php (specify the path which need to be scanned):


php ai-bolit.php --path=/home/cyclingm/domains/cycling-malaysia.com/public_html

7. When finished, the report in html format, like AI-BOLIT-REPORT-public_html_-590205-15-09-2017_11-15.html can be found in the destination folder.

8. Open report in the web browser and save it as the htm or html file

9. Send the file to the customer via the ticket system.

10. IMPORTANT! For security purpose remove all ai-bolit files and reports after its usage

P.S If the the size of the folder is huge the scan process may take some time, therefore it’s recommended to run the script in the screen.

Additional commands that can be useful:

Scan only specific extensions


php ai-bolit.php --scan=php,php5,pht,phtml,pl,cgi,htaccess,suspected,tpl

Exclude some media files from scanning (recommended only for the fast, express scanning)


php ai-bolit.php --skip=jpg,png,gif,jpeg,JPG,PNG,GIF,bmp,xml,zip,rar,css,avi,mov

Scan only one file example.php


php ai-bolit.php -example.php

Set the memory limit


php ai-bolit.php --memory=512M

Run in paranoic mode


php ai-bolit.php --mode=2

Set max scanned file size to 900Kb

php ai-bolit.php --size=900K

Make a pause 500ms between files during the scanning (for load reduction)

php ai-bolit.php --delay=500

Email report to specific email address:


php ai-bolit.php --report=myreport@yourmail.com

Report in text format (plain-text) file name site1.txt


php ai-bolit.php -lsite1.txt

Combine different commands , for example

php ai-bolit.php --size=300K --path=/home/s/site1/public_html/ --mode=2