Skip to content

for those of us who have close encounters with php shopping carts such as zencart, here is a script that email alerts a webmaster when a hacker uploads a php script

Notifications You must be signed in to change notification settings

peppyheppy/monitor-zencart-hacking-hack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

It's Sad, but ZenCart is not secure

You can easily modify the script to use any path to any site, but for my purposes (in use with a shared hosting spanel account, I use the /home//www as a default path.

To run the script I would recommend adding the script to the cron like so: */5 * * * * ruby ./zencart_hack_check.rb cpanelaccount1,two,three [email protected] webmaster

An example that I used was: */15 * * * * /bin/bash -l -c "/opt/ruby-enterprise-1.8.7-2010.01/bin/ruby /home/bin/zencart_hack_check.rb site1,site2,site2 [email protected] [email protected] >/dev/null 2>&1"

Enjoy!

About

for those of us who have close encounters with php shopping carts such as zencart, here is a script that email alerts a webmaster when a hacker uploads a php script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages