Created
March 29, 2016 19:54
-
-
Save molotovbliss/de4beb7afca521c1fbda90f8d8512603 to your computer and use it in GitHub Desktop.
Scan for Mage.jpg Malware Derivative
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
# Locate malware storing credit card info in images, original source: | |
# http://blog.foregenix.com/magento-malware-alert-mage.jpg-malware-derivative | |
find . -type f -exec egrep -Hl "md5\(md5\(microtime\(\)\)\.rand\(\)\)|\@file_put_contents\([^,]+,'JPEG-1\.1'\.base64_encode\([^\)]+\),FILE_APPEND\)" {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment