Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Checksum Verifier #56

Merged
merged 3 commits into from
Jul 1, 2019
Merged

Conversation

stklcode
Copy link
Contributor

@stklcode stklcode commented Jun 5, 2019

This PR targets #5.

The check routine from Checksum Verifier is ported into a module and adds the check to the cron job.

To do so, I've moved the plugin's main class into a separate file and extracted all checks into subclasses, namely

  • AntiVirus_CheckInternals (theme checks)
  • AntiVirus_SafeBrowsing (Google Safe Browsing check)
  • AntiVirus_ChecksumVerifier (the ported verifier code)

I know there's a lof of code moved...

SafeBrowsing changes in #55 cannot be merged automatically, so manual rework is required if this is merged.

stklcode added 3 commits July 1, 2019 16:47
This module compares checksums of WP core files against sums provided by
the official API. The check is now embedded in the daily cron routine.
@stklcode stklcode force-pushed the feature/checksum-verifier branch from 5080bf8 to 1eb8b5b Compare July 1, 2019 14:52
@Zodiac1978 Zodiac1978 merged commit 78609dd into master Jul 1, 2019
@stklcode stklcode deleted the feature/checksum-verifier branch July 3, 2019 18:36
@stklcode stklcode added this to the 1.4.0 milestone Jul 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants