Introduction

What does it do?

This extensions checks the frontend index.php for suspicious code. If suspicious code was detected an email will be send to the administrator and the visitor will be redirected to a notification page or alternate site.

Installation

Composer

If your TYPO3 installation works in composer mode, please execute following command:

composer req jweiland/checkmysite
vendor/bin/typo3 extension:setup --extension=checkmysite
Copied!

If you work with DDEV please execute this command:

ddev composer req jweiland/checkmysite
ddev exec vendor/bin/typo3 extension:setup --extension=checkmysite
Copied!

ExtensionManager

On non composer based TYPO3 installations you can install checkmysite still over the ExtensionManager:

  1. Login

    Login to backend of your TYPO3 installation as an administrator or system maintainer.

  2. Open ExtensionManager

    Click on Extensions from the left menu to open the ExtensionManager.

  3. Update Extensions

    Choose Get Extensions from the upper selectbox and click on the Update now button at the upper right.

  4. Install checkmysite

    Use the search field to find checkmysite. Choose the checkmysite line from the search result and click on the cloud icon to install checkmysite.

Next step

Configure checkmysite.

Configuration

This chapter describes how the extension can be configured.

Extension Settings

Some general settings for checkmysite can be configured in Admin Tools -> Settings.

Properties

redirect_url

redirect_url

redirect_url
Required

false

type

string

Default

https://

Path

Extension Settings

If index.php was modified, you can redirect to another page. But please define a page on another server or domain to prevent endless redirect loops.

content_text

content_text

content_text
Required

false

type

string

Default

Sorry, our website is down for maintenance. Please try again later!

Path

Extension Settings

If you haven't configured a redirect URL, you can enter a fixed text here, which will be used for output.

email_to

email_to

email_to
Required

false

type

string

Default

[EMPTY]

Path

Extension Settings

Email address for notifications (separate multiple addresses with comma)

email_from

email_from

email_from
Required

false

type

string

Default

[EMPTY]

Path

Extension Settings

If we send emails, from whose email address we should send them? We prefer to insert addresses from your domain. Else they may be declared as spam.

email_wait_time

email_wait_time

email_wait_time
Required

true

type

integer

Default

1800

Path

Extension Settings

Set the waiting time (in seconds) between the notification e-mails.

template_output_alternative

template_output_alternative

template_output_alternative
Required

true

type

string

Default

EXT:checkmysite/Resources/Private/Output/Alternative.html

Path

Extension Settings

Define a template, which should be shown, if an index.php modification was detected.

ChangeLog

Version 4.0.0

  • Add TYPO3 12.4 compatibility
  • Add TYPO3 11.5 compatibility
  • Move ext_icon.gif to new position
  • Check code with help of PHP lint and php-cs-fixer
  • Add strict types where possible
  • Make use of FluidEmail
  • Remove configuration for email templates

Version 3.1.0

  • Add TYPO3 8.7 compatibility

Sitemap

Index