Skip to content

Instantly share code, notes, and snippets.

@ClaraLeigh
Created February 1, 2019 04:43
Show Gist options
  • Save ClaraLeigh/1e8e50f856bfbae744f7f8326ee69616 to your computer and use it in GitHub Desktop.
Save ClaraLeigh/1e8e50f856bfbae744f7f8326ee69616 to your computer and use it in GitHub Desktop.
Check for OC hacks
#!/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