Hello Tomáš
Please be advised that defines.php file does not belong to MotoCMS HTML template files. There are multiple ways that hackers can gain access to your account:
1. An insecure password you have set (either for the cPanel or an FTP account)
2. An insecure PHP setting you are using on your account
3. An insecurity on a computer you use to access your account (a virus or other malware on a home or work computer)
Due to this very problem, once you've been hacked once it's important, essential even to protect your account from further infection. Some things to do to protect yourself are:
- Keep your scripts up to date
- Update your cPanel password, using a strong password (i.e. upper case characters, lower case characters, numbers, symbols).
- Remove unused FTP accounts.
- Update the passwords on necessary FTP accounts to strong passwords (see above).
- Secure your home computer by using an up-to-date anti-virus program; if you already use an anti-virus program, download and try a different anti-virus program, which may scan for different issues.
Best regards,
Sam Clayton