We have a Magento Project on local server and we want to upload it to Live server. But we want to first have a complete scan on our local server for any virus infection.

It is a matter of urgency. Any help would be appreciated.

  • 2
    Install antivirus at your system and scan the files & folders
    – Amit Bera
    Commented Jun 20, 2016 at 13:47
  • what is your local server OS and live server OS?
    – MagenX
    Commented Jun 20, 2016 at 15:11
  • @AmitBera what if a file contains malscript? Commented Jun 20, 2016 at 18:40
  • @MagenX Our local server OS is windows. Commented Jun 21, 2016 at 4:37

2 Answers 2


Usually viruses do some activity with local files, so, as option, you can just create a git repo and monitor git status for some time (of course you need to add media etc. folders to git ignore).

As other option, you can download software called AiBolit. This is bunch of php scripts with most common antivirus templates. This is really good software which help me alot.




Linux Malware Detect (LMD) is a malware scanner for Linux released under the GNU GPLv2 license, that is designed around the threats faced in shared hosted environments.

no matter what you must have this on your server:

wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
tar -xvf maldetect-current.tar.gz
cd maldetect-*

maldet -a /path/to/magento/

config file for automation and alerts:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.