The script is designed to extract MD5 hash files from the database and check them for viruses.
- Selects hashe from yesterday.
- Sends it to https://hash.cymru.com/ to be checked for viruses.
- Returns the checked file.
- Sifts through hashes. (Leaves only the infected ones).
- Searches all information in the database for infected hashes.
- Throws it into a file.
- Sends to email.
script-all.php is run 1 time at the beginning of work after installation, then once a day you need to run script-yesterday.php