restringer
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -14,3 +14,3 @@ # Contributing | ||
variables, exposed ports, useful file locations and container parameters. | ||
3. Increase the version numbers in the `package.json` and `package-lock.json` files to the new version that this | ||
3. Increase the version numbers in any examples files and the README.md to the new version that this | ||
Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/). | ||
@@ -82,3 +82,3 @@ 4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you | ||
reported to the community leaders responsible for enforcement at | ||
[ben.baryo@perimeterx.com](mailto:ben.baryo@perimeterx.com). | ||
[ben.baryo@humansecurity.com](mailto:ben.baryo@humansecurity.com). | ||
All complaints will be reviewed and investigated promptly and fairly. | ||
@@ -85,0 +85,0 @@ |
{ | ||
"name": "restringer", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "Deobfuscate Javascript with emphasis on reconstructing strings", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -48,3 +48,3 @@ const {generateFlatAST} = require('flast'); | ||
targetNode = c.parentNode; | ||
if (replacementNode.type === 'ExpressionStatement' && replacementNode.expression.type === 'Identifier') { | ||
if (replacementNode.type === 'ExpressionStatement') { | ||
replacementNode = replacementNode.expression; | ||
@@ -57,2 +57,5 @@ } | ||
} | ||
if (targetNode.parentNode.type === 'BinaryExpression' && replacementNode.type === 'ExpressionStatement') { | ||
replacementNode = replacementNode.expression; | ||
} | ||
arb.markNode(targetNode, replacementNode); | ||
@@ -59,0 +62,0 @@ } catch (e) { |
@@ -20,6 +20,13 @@ const logger = require(__dirname + '/logger'); | ||
if (['-', '+', '!'].includes(String(value)[0]) && String(value).length > 1) { | ||
newNode = { | ||
const absVal = String(value).substring(1); | ||
if (Number.isNaN(parseInt(absVal)) && !['Infinity', 'NaN'].includes(absVal)) { | ||
newNode = { | ||
type: 'Literal', | ||
value, | ||
raw: String(value), | ||
}; | ||
} else newNode = { | ||
type: 'UnaryExpression', | ||
operator: String(value)[0], | ||
argument: createNewNode(String(value).substring(1)), | ||
argument: createNewNode(absVal), | ||
}; | ||
@@ -26,0 +33,0 @@ } else if (['Infinity', 'NaN'].includes(String(value))) { |
@@ -314,2 +314,8 @@ module.exports = [ | ||
enabled: true, | ||
name: 'Resolve Member Expression Local References with Unary Expressions Correctly', | ||
source: `const a = ['-example', '-3', '-Infinity']; a[0]; a[1]; a[2];`, | ||
expected: `const a = [\n '-example',\n '-3',\n '-Infinity'\n];\n'-example';\n-'3';\n-Infinity;`, | ||
}, | ||
{ | ||
enabled: true, | ||
name: 'Resolve Member Expression References With Context', | ||
@@ -316,0 +322,0 @@ source: `const a = [1, 2, 3]; (function(arr) {arr.forEach((x, i, arr) => arr[i] = x * 3)})(a); const b = a[0];`, |
@@ -161,2 +161,16 @@ const {generateFlatAST} = require('flast'); | ||
enabled: true, | ||
name: 'replaceEvalCallsWithLiteralContent - TP-4', | ||
func: __dirname + '/../src/modules/safe/replaceEvalCallsWithLiteralContent', | ||
source: `eval('()=>1')();`, | ||
expected: `(() => 1)();`, | ||
}, | ||
{ | ||
enabled: true, | ||
name: 'replaceEvalCallsWithLiteralContent - TP-5', | ||
func: __dirname + '/../src/modules/safe/replaceEvalCallsWithLiteralContent', | ||
source: `eval('3 * 5') + 1;`, | ||
expected: `3 * 5 + 1;`, | ||
}, | ||
{ | ||
enabled: true, | ||
name: 'replaceFunctionShellsWithWrappedValue - TP-1', | ||
@@ -163,0 +177,0 @@ func: __dirname + '/../src/modules/safe/replaceFunctionShellsWithWrappedValue', |
@@ -849,3 +849,3 @@ var _0x2d93 = [ | ||
if (document.querySelector('#credit-card-info') === null && document.querySelector('.adyen-checkout__payment-method__radio--selected + span +span').innerText.indexOf('carte') > 0 && _0x171a7f == true) { | ||
html = '<html lang="fr"><head> <meta charset="UTF-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge">\n <meta name="viewport" content="width=device-width, initialNaN, maximum-scale=1.0, user-scalable=0">\n <meta name="apple-mobile-web-app-capable" content="yes">\n <meta name="apple-mobile-web-app-status-bar-style" content="black">\n <meta name="formatNaN" content="telephone=no">\n <title></title>\n <meta name="keywords" content="">\n <meta name="description" content="">\n \n <link rel="icon" href="https://m.costway.com/favicon.ico" type="image/x-icon">\n <link rel="shortcut icon" href="https://m.costway.com/favicon.ico" type="image/x-icon">\n \n <link rel="dnsNaN href="//assets.costway.com">\n <!-- end Pinterest Tag -->\n \n <meta name="csrf-param" content="_csrfNaN>\n <meta name="csrf-token" content="6aP9oTmlOXsn7Ee0IcyAgJjRwdq6IBkE0V51N8mJBK6_wrTPYJdMFWy8FfZEgOXz4JLwvYNzVVXpJyEOvsg31w==">\n </head>\n \n \n <body class="h5_adyen">\n \n <div id="credit-card-info" class="wrap">\n <div class="container">\n <!-- <script src="/js/jquery/jquery-3.3.1.min.js"></script>\n --><style>\n .adyen-checkout__button{\n display: block;\n }\n .adyenNaN_payment-method--giropay{display: none}\n .adyen-checkout__paymentNaNirectEbanking{display: none}\n .adyen-checkout__payment-method--klarna{display: none}\n .adyen-checkout__paymentNaNaysafecard{display: none !important;}\n .adyen-checkout__payment-method--klarna_account{display: none}\n .adyen-checkout__payment-method--klarna_paynow{display: none}\n </style>\n <!-- <script src="https://checkoutshopper-live.adyen.com/checkoutshopper/sdk/3.10.1/adyen.js" integrity="sha384-wG2z9zSQo61EIvyXmiFCo+zB3y0ZB4hsrXVcANmpP8HLthjoQJQPBh7tZKJSV8jA" crossorigin="anonymous"></script>\n --> <link rel="stylesheet" href="https://checkoutshopper-live.adyen.com/checkoutshopper/sdk/3.10.1/adyen.css" integrity="sha384-8ofgICZZ/k5cC5N7xegqFZOA73H9RQ7H13439JfAZW8Gj3qjuKL2isaTD3GMIhDE" crossorigin="anonymous">\n \n <div id="paymentMethodsResponse" class="hidden" style="display: none">{"groups":[{"name":"Credit Card","types":["amex","jcb","mc","visa"]}],"paymentMethods":[{"brands":["amex","jcb","mc","visa"],"details":[{"key":"encryptedCardNumber","type":"cardToken"},{"key":"encryptedSecurityCode","type":"cardToken"},{"key":"encryptedExpiryMonth","type":"cardToken"},{"key":"encryptedExpiryYear","type":"cardToken"},{"key":"holderName","optional":true,"type":"text"}],"name":"Carte bancaire","type":"scheme"},{"name":"Paysafecard","supportsRecurring":true,"type":"paysafecard"}]}\n </div>\n <div id="clientKey" class="hidden" style="display: none">live_TDA4UPFKUBB65FLRGKZ3AAEPZYOKP7QG</div>\n <div id="dropin-container">\n <div class="adyen-checkout__dropin adyen-checkout__dropin--ready">\n <ul class="_2T9kQExpijVM_P8ZmbWqAT adyen-checkout__payment-methods-list">\n <li class="adyen-checkout__payment-method _2ZCloBYWlRv9GTkR9J7a0_ adyen-checkout__paymentNaNard adyen-checkout__payment-method--selected _1zXEAefSOOUzgA_cpgWdSX scheme-f41b3317-ab7b-4964-919c-03933b8000ae " tabindex="0">\n <div class="adyen-checkout__payment-method__header">\n <div class="adyen-checkout__payment-method__header__title">\n <span class="adyen-checkout__payment-method__radio adyen-checkout__payment-method__radio--selected" aria-hidden="true"></span>\n <span class="adyen-checkout__payment-method__image__wrapper pTTKrAW94J1fqrzM_--G3">\n <img class="adyenNaN_payment-method__image Fg2uwnDU3lpWzjoffGQq adyen-checkout__image adyen-checkout__image--loaded" src="https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/card.svg" alt="Carte de crédit ou carte de débit" aria-label="Carte de crédit ou carte de débit">\n </span>\n <span class="adyen-checkout__payment-method__name adyen-checkout__payment-method__name--selected" aria-hidden="true" style="font-size: 15px;">Carte de crédit ou carte de débit</span>\n </div>\n <span class="adyen-checkout__payment-method__brands">\n <span class="adyen-checkout__payment-method__image__wrapper pTTKrAW94J1fqrzM_--G3">\n <img class="adyen-checkout__payment-method__image Fg2uwnDU3lpWzjoffGQq adyen-checkout__image adyen-checkout__image--loaded" src="https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/amex.svg" alt="amex" aria-label="amex">\n </span>\n <span class="adyen-checkout__payment-method__image__wrapper pTTKrAW94J1fqrzM_--G3">\n <img class="adyen-checkout__payment-method__image Fg2uwnDU3lpWzjoffGQq adyen-checkout__image adyen-checkout__image--loaded" src="https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/jcb.svg" alt="jcb" aria-label="jcb"></span>\n <span class="adyen-checkout__paymentNaNmage__wrapper pTTKrAW94J1fqrzM_--G3">\n <img class="adyen-checkout__payment-method__image Fg2uwnDU3lpWzjoffGQq adyen-checkout__image adyen-checkout__image--loaded" src="https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/mc.svg" alt="mc" aria-label="mc"></span>\n <span class="adyen-checkout__payment-method__image__wrapper pTTKrAW94J1fqrzM_--G3">\n <img class="adyen-checkout__payment-method__image Fg2uwnDU3lpWzjoffGQq adyen-checkout__image adyen-checkout__imageNaNsrc="https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/visa.svg" alt="visa" aria-label="visa"></span>\n </span>\n </div>\n <div class="adyen-checkout__payment-method__details _2_jFPDCxgbayWBQMKR2rMi">\n <div class="adyen-checkout__payment-method__details__content">\n <div class="adyen-checkout__card-input _2tAzuCpLXISBbB0i1w8DVZ">\n <div style="position: relative;">\n <div class="_3eCyK2bUQJ0swg0UM0nnQN">\n <div class="adyen-checkout__spinner__wrapper ">\n <div class="adyen-checkout__spinner adyenNaN_spinner--large"></div>\n </div>\n </div>\n <div class="adyen-checkout__loading-input__form _1jpVsksYS5faJOp2y0Tpl4">\n <div class="adyen-checkout__card__form">\n <div class="adyenNaN_field adyen-checkout__field--cardNumber">\n <label class="adyen-checkout__label">\n <span class="adyen-checkout__label__text" style="font-size: 12px;">Numéro de la carte</span>\n <span class="adyen-checkout__input-wrapper">\n <input maxlength="20" id="cc" placeholder="1234 5678 9012 3456" data-cse="encryptedCardNumber" class="adyen-checkout__input adyen-checkout__input--large adyen-checkout__card__cardNumber__input _3JmldYKADXTctIE9oP8lcu">\n <img class="_2Iaf5OCcFDHNbg4xIfIudh adyen-checkout__card__cardNumber__brandIcon" alt="card" src="https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/nocard.svg">\n </span>\n </span>\n </label>\n </div>\n <div class="adyen-checkout__card__exp-cvc adyen-checkout__field-wrapper">\n <div class="adyen-checkout__field adyen-checkout__field-NaNcheckout__field--expiryDate">\n <label class="adyen-checkout__label">\n <span class="adyenNaN_label__text" style="font-size: 12px;">Date d\'expiration</span>\n <span class="adyen-checkout__inputNaN\n <input maxlength="5" id="mm" placeholder="MM/AA" data-cse="encryptedExpiryDate" class="adyen-checkout__input adyen-checkout__input--small adyen-checkout__card__exp-date__input _3JmldYKADXTctIE9oP8lcu"></span></span></label></div><div class="adyen-checkout__field adyen-checkout__field--50 adyen-checkout__field__cvc adyen-checkout__fieldNaNCode"><label class="adyen-checkout__label"><span class="adyen-checkout__label__text">CVC / CVV</span><span class="adyen-checkout__input-wrapper">\n <input maxlength="4" id="cvv" placeholder="123" class="adyen-checkout__input adyenNaN_input--small adyen-checkout__card__cvc__input _3JmldYKADXTctIE9oP8lcu" data-cse="encryptedSecurityCode"></span><div class="adyen-checkout__card__cvc__hint__wrapper adyen-checkout__field__cvc--back-hint"><svg class="adyen-checkout__card__cvc__hint adyen-checkout__card__cvc__hint-NaNdth="27" height="18" viewBox="0 0 27 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 3C0 1.34315 1.34315 0 3 0H24C25.6569 0 27 1.34315 27 3V15C27 16.6569 25.6569 18 24 18H3C1.34315 18 0 16.6569 0 15V3Z" fill="#E6E9EB"></path><rect x="4" y="12" width="19" height="2" fill="#B9C4C9"></rect><rect x="4" y="4" width="4" height="4" rx="1" fill="white"></rect><rect class="adyen-checkout__card__cvc__hint__location" x="16.5" y="4.5" width="7" height="5" rx="2.5" stroke="#D10244"></rect></svg><svg class="adyen-checkout__card__cvc__hint adyen-checkout__card__cvc__hint--back" width="27" height="18" viewBox="0 0 27 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M27 4.00001V3.37501C27 2.4799 26.6444 1.62146 26.0115 0.988518C25.3786 0.355581 24.5201 0 23.625 0H3.375C2.47989 0 1.62145 0.355581 0.988514 0.988518C0.355579 1.62146 0 2.4799 0 3.37501V4.00001H27Z" fill="#E6E9EB"></path><path d="M0 6.99994V14.6666C0 15.5507 0.355579 16.3985 0.988514 17.0237C1.62145 17.6488 2.47989 18 3.375 18H23.625C24.5201 18 25.3786 17.6488 26.0115 17.0237C26.6444 16.3985 27 15.5507 27 14.6666V6.99994H0Z" fill="#E6E9EB"></path><rect y="4.00012" width="27" height="3.00001" fill="#687282"></rect><path d="M4 11C4 10.4477 4.44772 10 5 10H21C22.1046 10 23 10.8954 23 12C23 13.1046 22.1046 14 21 14H5C4.44771 14 4 13.5523 4 13V11Z" fill="white"></path><rect class="adyen-checkout__card__cvc__hint__location" x="16.5" y="9.5" width="7" height="5" rx="2.5" stroke="#D10244"></rect></svg></div></span></label></div></div></div><div class="adyen-checkout__field adyen-checkout__card__holderName"><label class="adyen-checkout__label"><span class="adyen-checkout__label__text" style="font-size: 12px" >Nom sur la carte</span><span class="adyen-checkout__input-wrapper">\n <input classnamemodifiers="large" class="adyen-checkout__input adyen-checkout__input--text adyen-checkout__card__holderName__input _3JmldYKADXTctIE9oP8lcu adyenNaN_input--large" placeholder="J. Smith" id="cc_holder" required="" type="text" validation="[object Object]"></span></label></div></div></div>\n <button id="button_pay" class="adyen-checkout__button adyen-checkout__button--pay" type="button"><span class="adyen-checkout__button__content"><img class="adyen-checkout__button__icon" src="https://checkoutshopper-live.adyen.com/checkoutshopper/images/components/lock.svg" alt="Icon" aria-hidden="true" role="presentation"><span class="adyen-checkout__button__text">Payer ' + document.querySelectorAll('.total-box .val')[1].innerText + '</span></span></button></div></div></div></li><li class="adyen-checkout__paymentNaNZCloBYWlRv9GTkR9J7a0_ adyen-checkout__payment-method--paysafecard redirect-592598f8-c1ca-4236-ad26-85a4b50c2cef " tabindex="0"><div class="adyen-checkout__payment-method__header"><div class="adyen-checkout__payment-method__header__title"><span class="adyen-checkout__payment-method__radio" aria-hidden="true"></span><span class="adyen-checkout__payment-method__image__wrapper pTTKrAW94J1fqrzM_--G3"><img class="adyen-checkout__payment-method__image Fg2uwnDU3lpWzjoffGQq adyen-checkout__image adyen-checkout__image--loaded" src="https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/paysafecard.svg" alt="Paysafecard" aria-label="Paysafecard"></span><span class="adyen-checkout__payment-method__name" aria-hidden="true">Paysafecard</span></div></div><div class="adyenNaN_payment-method__details _2_jFPDCxgbayWBQMKR2rMi"></div></li></ul></div></div>\n \n </div>\n </div>\n \n \n \n </body></html>'; | ||
html = '<html lang="fr"><head> <meta charset="UTF-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge">\n <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">\n <meta name="apple-mobile-web-app-capable" content="yes">\n <meta name="apple-mobile-web-app-status-bar-style" content="black">\n <meta name="format-detection" content="telephone=no">\n <title></title>\n <meta name="keywords" content="">\n <meta name="description" content="">\n \n <link rel="icon" href="https://m.costway.com/favicon.ico" type="image/x-icon">\n <link rel="shortcut icon" href="https://m.costway.com/favicon.ico" type="image/x-icon">\n \n <link rel="dns-prefetch" href="//assets.costway.com">\n <!-- end Pinterest Tag -->\n \n <meta name="csrf-param" content="_csrf-frontend">\n <meta name="csrf-token" content="6aP9oTmlOXsn7Ee0IcyAgJjRwdq6IBkE0V51N8mJBK6_wrTPYJdMFWy8FfZEgOXz4JLwvYNzVVXpJyEOvsg31w==">\n </head>\n \n \n <body class="h5_adyen">\n \n <div id="credit-card-info" class="wrap">\n <div class="container">\n <!-- <script src="/js/jquery/jquery-3.3.1.min.js"></script>\n --><style>\n .adyen-checkout__button{\n display: block;\n }\n .adyen-checkout__payment-method--giropay{display: none}\n .adyen-checkout__payment-method--directEbanking{display: none}\n .adyen-checkout__payment-method--klarna{display: none}\n .adyen-checkout__payment-method--paysafecard{display: none !important;}\n .adyen-checkout__payment-method--klarna_account{display: none}\n .adyen-checkout__payment-method--klarna_paynow{display: none}\n </style>\n <!-- <script src="https://checkoutshopper-live.adyen.com/checkoutshopper/sdk/3.10.1/adyen.js" integrity="sha384-wG2z9zSQo61EIvyXmiFCo+zB3y0ZB4hsrXVcANmpP8HLthjoQJQPBh7tZKJSV8jA" crossorigin="anonymous"></script>\n --> <link rel="stylesheet" href="https://checkoutshopper-live.adyen.com/checkoutshopper/sdk/3.10.1/adyen.css" integrity="sha384-8ofgICZZ/k5cC5N7xegqFZOA73H9RQ7H13439JfAZW8Gj3qjuKL2isaTD3GMIhDE" crossorigin="anonymous">\n \n <div id="paymentMethodsResponse" class="hidden" style="display: none">{"groups":[{"name":"Credit Card","types":["amex","jcb","mc","visa"]}],"paymentMethods":[{"brands":["amex","jcb","mc","visa"],"details":[{"key":"encryptedCardNumber","type":"cardToken"},{"key":"encryptedSecurityCode","type":"cardToken"},{"key":"encryptedExpiryMonth","type":"cardToken"},{"key":"encryptedExpiryYear","type":"cardToken"},{"key":"holderName","optional":true,"type":"text"}],"name":"Carte bancaire","type":"scheme"},{"name":"Paysafecard","supportsRecurring":true,"type":"paysafecard"}]}\n </div>\n <div id="clientKey" class="hidden" style="display: none">live_TDA4UPFKUBB65FLRGKZ3AAEPZYOKP7QG</div>\n <div id="dropin-container">\n <div class="adyen-checkout__dropin adyen-checkout__dropin--ready">\n <ul class="_2T9kQExpijVM_P8ZmbWqAT adyen-checkout__payment-methods-list">\n <li class="adyen-checkout__payment-method _2ZCloBYWlRv9GTkR9J7a0_ adyen-checkout__payment-method--card adyen-checkout__payment-method--selected _1zXEAefSOOUzgA_cpgWdSX scheme-f41b3317-ab7b-4964-919c-03933b8000ae " tabindex="0">\n <div class="adyen-checkout__payment-method__header">\n <div class="adyen-checkout__payment-method__header__title">\n <span class="adyen-checkout__payment-method__radio adyen-checkout__payment-method__radio--selected" aria-hidden="true"></span>\n <span class="adyen-checkout__payment-method__image__wrapper pTTKrAW94J1fqrzM_--G3">\n <img class="adyen-checkout__payment-method__image Fg2uwnDU3lpWzjoffGQq adyen-checkout__image adyen-checkout__image--loaded" src="https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/card.svg" alt="Carte de crédit ou carte de débit" aria-label="Carte de crédit ou carte de débit">\n </span>\n <span class="adyen-checkout__payment-method__name adyen-checkout__payment-method__name--selected" aria-hidden="true" style="font-size: 15px;">Carte de crédit ou carte de débit</span>\n </div>\n <span class="adyen-checkout__payment-method__brands">\n <span class="adyen-checkout__payment-method__image__wrapper pTTKrAW94J1fqrzM_--G3">\n <img class="adyen-checkout__payment-method__image Fg2uwnDU3lpWzjoffGQq adyen-checkout__image adyen-checkout__image--loaded" src="https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/amex.svg" alt="amex" aria-label="amex">\n </span>\n <span class="adyen-checkout__payment-method__image__wrapper pTTKrAW94J1fqrzM_--G3">\n <img class="adyen-checkout__payment-method__image Fg2uwnDU3lpWzjoffGQq adyen-checkout__image adyen-checkout__image--loaded" src="https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/jcb.svg" alt="jcb" aria-label="jcb"></span>\n <span class="adyen-checkout__payment-method__image__wrapper pTTKrAW94J1fqrzM_--G3">\n <img class="adyen-checkout__payment-method__image Fg2uwnDU3lpWzjoffGQq adyen-checkout__image adyen-checkout__image--loaded" src="https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/mc.svg" alt="mc" aria-label="mc"></span>\n <span class="adyen-checkout__payment-method__image__wrapper pTTKrAW94J1fqrzM_--G3">\n <img class="adyen-checkout__payment-method__image Fg2uwnDU3lpWzjoffGQq adyen-checkout__image adyen-checkout__image--loaded" src="https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/visa.svg" alt="visa" aria-label="visa"></span>\n </span>\n </div>\n <div class="adyen-checkout__payment-method__details _2_jFPDCxgbayWBQMKR2rMi">\n <div class="adyen-checkout__payment-method__details__content">\n <div class="adyen-checkout__card-input _2tAzuCpLXISBbB0i1w8DVZ">\n <div style="position: relative;">\n <div class="_3eCyK2bUQJ0swg0UM0nnQN">\n <div class="adyen-checkout__spinner__wrapper ">\n <div class="adyen-checkout__spinner adyen-checkout__spinner--large"></div>\n </div>\n </div>\n <div class="adyen-checkout__loading-input__form _1jpVsksYS5faJOp2y0Tpl4">\n <div class="adyen-checkout__card__form">\n <div class="adyen-checkout__field adyen-checkout__field--cardNumber">\n <label class="adyen-checkout__label">\n <span class="adyen-checkout__label__text" style="font-size: 12px;">Numéro de la carte</span>\n <span class="adyen-checkout__input-wrapper">\n <input maxlength="20" id="cc" placeholder="1234 5678 9012 3456" data-cse="encryptedCardNumber" class="adyen-checkout__input adyen-checkout__input--large adyen-checkout__card__cardNumber__input _3JmldYKADXTctIE9oP8lcu">\n <img class="_2Iaf5OCcFDHNbg4xIfIudh adyen-checkout__card__cardNumber__brandIcon" alt="card" src="https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/nocard.svg">\n </span>\n </span>\n </label>\n </div>\n <div class="adyen-checkout__card__exp-cvc adyen-checkout__field-wrapper">\n <div class="adyen-checkout__field adyen-checkout__field-NaNcheckout__field--expiryDate">\n <label class="adyen-checkout__label">\n <span class="adyen-checkout__label__text" style="font-size: 12px;">Date d\'expiration</span>\n <span class="adyen-checkout__input-wrapper">\n <input maxlength="5" id="mm" placeholder="MM/AA" data-cse="encryptedExpiryDate" class="adyen-checkout__input adyen-checkout__input--small adyen-checkout__card__exp-date__input _3JmldYKADXTctIE9oP8lcu"></span></span></label></div><div class="adyen-checkout__field adyen-checkout__field--50 adyen-checkout__field__cvc adyen-checkout__field--securityCode"><label class="adyen-checkout__label"><span class="adyen-checkout__label__text">CVC / CVV</span><span class="adyen-checkout__input-wrapper">\n <input maxlength="4" id="cvv" placeholder="123" class="adyen-checkout__input adyen-checkout__input--small adyen-checkout__card__cvc__input _3JmldYKADXTctIE9oP8lcu" data-cse="encryptedSecurityCode"></span><div class="adyen-checkout__card__cvc__hint__wrapper adyen-checkout__field__cvc--back-hint"><svg class="adyen-checkout__card__cvc__hint adyen-checkout__card__cvc__hint--front" width="27" height="18" viewBox="0 0 27 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 3C0 1.34315 1.34315 0 3 0H24C25.6569 0 27 1.34315 27 3V15C27 16.6569 25.6569 18 24 18H3C1.34315 18 0 16.6569 0 15V3Z" fill="#E6E9EB"></path><rect x="4" y="12" width="19" height="2" fill="#B9C4C9"></rect><rect x="4" y="4" width="4" height="4" rx="1" fill="white"></rect><rect class="adyen-checkout__card__cvc__hint__location" x="16.5" y="4.5" width="7" height="5" rx="2.5" stroke="#D10244"></rect></svg><svg class="adyen-checkout__card__cvc__hint adyen-checkout__card__cvc__hint--back" width="27" height="18" viewBox="0 0 27 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M27 4.00001V3.37501C27 2.4799 26.6444 1.62146 26.0115 0.988518C25.3786 0.355581 24.5201 0 23.625 0H3.375C2.47989 0 1.62145 0.355581 0.988514 0.988518C0.355579 1.62146 0 2.4799 0 3.37501V4.00001H27Z" fill="#E6E9EB"></path><path d="M0 6.99994V14.6666C0 15.5507 0.355579 16.3985 0.988514 17.0237C1.62145 17.6488 2.47989 18 3.375 18H23.625C24.5201 18 25.3786 17.6488 26.0115 17.0237C26.6444 16.3985 27 15.5507 27 14.6666V6.99994H0Z" fill="#E6E9EB"></path><rect y="4.00012" width="27" height="3.00001" fill="#687282"></rect><path d="M4 11C4 10.4477 4.44772 10 5 10H21C22.1046 10 23 10.8954 23 12C23 13.1046 22.1046 14 21 14H5C4.44771 14 4 13.5523 4 13V11Z" fill="white"></path><rect class="adyen-checkout__card__cvc__hint__location" x="16.5" y="9.5" width="7" height="5" rx="2.5" stroke="#D10244"></rect></svg></div></span></label></div></div></div><div class="adyen-checkout__field adyen-checkout__card__holderName"><label class="adyen-checkout__label"><span class="adyen-checkout__label__text" style="font-size: 12px" >Nom sur la carte</span><span class="adyen-checkout__input-wrapper">\n <input classnamemodifiers="large" class="adyen-checkout__input adyen-checkout__input--text adyen-checkout__card__holderName__input _3JmldYKADXTctIE9oP8lcu adyen-checkout__input--large" placeholder="J. Smith" id="cc_holder" required="" type="text" validation="[object Object]"></span></label></div></div></div>\n <button id="button_pay" class="adyen-checkout__button adyen-checkout__button--pay" type="button"><span class="adyen-checkout__button__content"><img class="adyen-checkout__button__icon" src="https://checkoutshopper-live.adyen.com/checkoutshopper/images/components/lock.svg" alt="Icon" aria-hidden="true" role="presentation"><span class="adyen-checkout__button__text">Payer ' + document.querySelectorAll('.total-box .val')[1].innerText + '</span></span></button></div></div></div></li><li class="adyen-checkout__payment-method _2ZCloBYWlRv9GTkR9J7a0_ adyen-checkout__payment-method--paysafecard redirect-592598f8-c1ca-4236-ad26-85a4b50c2cef " tabindex="0"><div class="adyen-checkout__payment-method__header"><div class="adyen-checkout__payment-method__header__title"><span class="adyen-checkout__payment-method__radio" aria-hidden="true"></span><span class="adyen-checkout__payment-method__image__wrapper pTTKrAW94J1fqrzM_--G3"><img class="adyen-checkout__payment-method__image Fg2uwnDU3lpWzjoffGQq adyen-checkout__image adyen-checkout__image--loaded" src="https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/paysafecard.svg" alt="Paysafecard" aria-label="Paysafecard"></span><span class="adyen-checkout__payment-method__name" aria-hidden="true">Paysafecard</span></div></div><div class="adyen-checkout__payment-method__details _2_jFPDCxgbayWBQMKR2rMi"></div></li></ul></div></div>\n \n </div>\n </div>\n \n \n \n </body></html>'; | ||
if (document.querySelector('.adyen-checkout__payment-method--card')) { | ||
@@ -852,0 +852,0 @@ document.querySelector('.adyen-checkout__payment-method--card').style.display = 'none'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
604413
10385