Created
March 17, 2013 01:16
-
-
Save xurizaemon/5179119 to your computer and use it in GitHub Desktop.
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
select id, | |
substring(data,locate('credit_card_number',data)+26,16) as cc_number, -- crude unserialize | |
created_date | |
from civicrm_cache | |
where path like '%contribute%' | |
and data like '%credit_card_number%' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment