SiteGuarding Website Antivirus - standalone scanner
Version 2.0.3, 12 Oct 2026
https://www.siteguarding.com/

WHAT IT IS

One PHP file that installs our antivirus agent on your website, scans the website and shows the report.
Use it when you do not want to install our plugin, or when your platform has no plugin of ours.

Works on PHP 5.6 - 8.5 with the cURL extension (almost every hosting has it). Nothing else is needed:
no database, no composer, no plugin.


HOW TO USE IT

Step 1. Upload antivirus_scanner.php into the root folder of your website (the folder with index.php).

Step 2. Open it in your browser:

            https://www.YourWebsite.com/antivirus_scanner.php

Step 3. Set a password, or press "Skip".
        With a password only you can open the scanner, and it stays until you remove it.
        Without a password anyone who knows the address can open it, so the scanner removes itself
        automatically 3 hours after it was uploaded. If that happened, just upload it again.

Step 4. Enter your email address and press "Install the agent". We register your website and install
        the agent into the folder webanalyze/.

Step 5. Press "Start the scan". The scan takes 2 to 10 minutes. The report opens in a new tab, and a
        copy is sent to your email address.
        The free plan allows one scan a day for each website; a second scan on the same day shows
        the report of that day.

Step 6. Press "Remove the scanner" when you are done. A page that can scan and change files should not
        stay on a live website.


IF SOMETHING DOES NOT WORK

- "The folder webanalyze/ is not writable": give that folder in the website root the permission to write
  (0755, and 0777 on some servers), then reload the page.
- The page is empty or shows an error of your server: open the link "Server check" at the bottom of the
  scanner. It tells you the PHP version, the extensions, the permissions and whether your server can
  reach siteguarding.com.
- Your hosting blocks outgoing connections: ask your hosting provider to allow HTTPS to
  www.siteguarding.com, or write to our support.
- You lost the password: delete webanalyze/sg_scanner_state.php on the server, upload the scanner again
  and set a new password.
- The page says the scanner is no longer here: it was used without a password and removed itself after
  3 hours. Upload antivirus_scanner.php again.


WHAT IT PUTS ON YOUR WEBSITE

  webanalyze/antivirus.php              our antivirus agent
  webanalyze/antivirus_config.php       the access key of your website
  webanalyze/antivirus_installer.php    the installer (ZIP package only); removed once the agent is
                                        installed, or together with the scanner
  webanalyze/sg_scanner_state.php       settings of the scanner (password hash, session); not readable
                                        over HTTP, removed together with the scanner
  siteguarding_tools.php                support tool in the website root, installed on request

"Remove the scanner" deletes the scanner, its settings, the installer and the support tool. Tick the box in that form
if you also want the antivirus agent to be removed.


SECURITY

The scanner can be protected by a password (without one it lives only 3 hours), keeps the access key of
your website on the server (it is never sent to the browser), protects its forms against cross-site
requests, and downloads everything from siteguarding.com over HTTPS with the certificate and the
checksum verified.

Kind regards,
SiteGuarding Team
