Created
February 1, 2019 04:43
-
-
Save ClaraLeigh/1e8e50f856bfbae744f7f8326ee69616 to your computer and use it in GitHub Desktop.
Check for OC hacks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
Y=$(date +%Y) | |
M=$(date +%m) | |
echo "checking login files last modified: $Y-$M-" | |
ls --full-time /home/*/public_html/admin/controller/common/login.php | grep '$Y-$M-' | |
echo "checking payment files last modified: $Y-$M-" | |
ls --full-time /home/*/public_html/catalog/controller/payment/* | grep '$Y-$M-' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment