Created
April 27, 2016 11:01
-
-
Save edmondscommerce/2666b3aa80453d7e6651a25490354f49 to your computer and use it in GitHub Desktop.
Recursively check directory for Magento Modules listed as having a possible SQL injection vulnerability
This file contains 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 | |
find . -type d -ipath '*app/etc/modules' | \ | |
while read f; | |
do | |
echo $f; | |
ls -l "${f}" | \ | |
grep 'EM_Quickshop.xml\|EM_Ajaxcart.xml\|Smartwave_QuickView.xml\|MD_Quick'; | |
done | grep -B 1 'xml' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Magento has sent out an email saying that some third party extensions are at risk of an SQL Injection Attack.
This script will check if they are installed