помощь с капчей

UNISELL

Client
Регистрация
26.10.2022
Сообщения
13
Благодарностей
5
Баллы
3
пару лет не брался за проекты, и тут уперся вроде в простейшую капчу,но зено не видит ее как капчу, а я не могу понять как получить ссылку на картинку.
или я все забыл, или что то изменилось)
за помощь готов отблагодарить на пивко)

110268


HTML:
<bw-svg-captcha controlname="simpleCaptcha"><div class="asfc-svg-content"><span class="asfc-svg-captcha"><svg xmlns="http://www.w3.org/2000/svg" width="150" height="50" viewBox="0,0,150,50"><path d="M14 40 C61 28,57 13,145 22" stroke="#777" fill="none"></path><path fill="#111" d="M29.71 39.94L29.72 39.95L29.60 39.83Q27.75 39.88 25.73 40.07L25.75 40.08L25.64 39.98Q26.28 34.72 26.28 29.89L26.22 29.83L26.34 29.94Q26.44 25.13 25.79 19.92L25.79 19.91L25.75 19.88Q21.15 19.46 17.95 17.79L17.90 17.74L17.24 16.05L17.20 16.00Q16.90 15.40 16.29 14.18L16.45 14.35L16.37 14.26Q21.53 17.03 27.55 17.22L27.50 17.17L27.35 17.02Q33.28 17.24 38.73 15.19L38.68 15.14L38.78 15.24Q38.01 16.60 37.36 18.43L37.34 18.41L37.37 18.43Q33.84 19.81 29.57 20.00L29.54 19.97L29.53 19.96Q29.41 25.06 29.41 30.01L29.24 29.83L29.32 29.92Q29.32 34.87 29.63 39.85ZM39.52 14.61L39.51 14.60L39.52 14.61Q33.68 16.88 27.48 16.69L27.37 16.58L27.34 16.56Q20.81 16.50 15.71 13.53L15.57 13.39L15.74 13.55Q16.37 14.72 17.67 18.00L17.63 17.96L17.72 18.05Q18.26 18.25 19.52 18.82L19.54 18.84L19.70 19.00Q19.89 19.64 20.23 21.17L20.25 21.19L20.31 21.25Q22.51 22.01 25.56 22.24L25.49 22.16L25.53 22.21Q25.98 25.96 25.98 29.73L26.01 29.77L25.85 29.60Q25.87 34.99 25.07 40.36L25.17 40.47L25.12 40.41Q26.89 40.39 27.42 40.39L27.38 40.35L27.41 40.37Q27.24 40.52 27.19 41.18L27.22 41.22L27.34 41.34Q27.32 42.04 27.32 42.38L27.12 42.18L27.27 42.33Q28.41 42.21 29.93 42.29L29.95 42.31L29.96 42.32Q30.85 42.34 32.68 42.49L32.65 42.46L32.68 42.49Q31.36 37.47 31.24 32.30L31.42 32.47L31.25 32.30Q31.27 27.15 31.80 22.24L31.72 22.15L31.68 22.11Q35.65 21.59 38.81 20.37L38.85 20.42L38.80 20.36Q39.51 17.99 40.54 15.93L40.59 15.98L40.46 15.85Q39.13 16.54 38.33 16.85L38.34 16.86L38.41 16.93Q38.84 15.65 39.42 14.51Z"></path><path fill="#333" d="M49.33 14.35L49.26 14.28L49.31 14.33Q51.81 16.00 53.56 16.41L53.51 16.36L53.53 16.37Q55.00 23.03 55.00 29.62L54.90 29.51L54.85 29.47Q54.95 33.56 54.41 37.55L54.43 37.58L54.48 37.62Q56.68 37.12 59.15 37.19L59.11 37.15L59.16 37.20Q61.45 37.10 63.59 37.82L63.58 37.82L63.59 37.82Q64.07 39.52 64.53 41.08L64.38 40.94L64.33 40.89Q60.96 39.54 57.12 39.80L57.24 39.92L57.18 39.87Q53.37 40.16 50.13 42.06L50.16 42.09L50.09 42.02Q52.38 35.25 52.11 28.25L51.99 28.12L52.04 28.17Q51.71 21.03 49.27 14.29ZM49.69 42.88L49.52 42.71L49.60 42.79Q50.27 42.40 51.65 41.68L51.71 41.75L51.64 41.67Q51.45 42.39 50.92 43.88L50.96 43.93L51.06 44.02Q54.52 42.26 58.36 42.26L58.36 42.26L58.25 42.15Q63.89 42.16 68.00 45.21L68.08 45.28L68.01 45.21Q67.50 43.86 66.47 40.89L66.33 40.76L66.46 40.89Q65.24 40.09 64.37 39.71L64.39 39.73L64.33 39.67Q64.37 39.13 64.06 37.73L64.00 37.67L63.88 37.55Q61.33 36.71 58.33 36.71L58.30 36.68L58.30 36.68Q57.55 36.69 56.75 36.73L56.87 36.85L56.80 36.78Q56.97 31.77 56.89 27.66L56.95 27.72L56.93 27.70Q56.96 23.69 56.61 18.70L56.65 18.74L56.52 18.60Q55.01 18.39 54.21 18.20L54.30 18.29L54.22 18.22Q54.10 17.49 53.88 16.08L54.04 16.24L53.98 16.18Q50.86 15.34 48.61 13.40L48.64 13.43L48.76 13.55Q51.42 20.55 51.69 28.05L51.64 28.01L51.60 27.96Q52.05 35.69 49.65 42.84Z"></path><path fill="#333" d="M114.72 29.01L114.55 28.84L114.57 28.86Q112.12 28.96 111.10 30.14L111.13 30.18L111.03 30.08Q110.06 31.32 110.06 33.95L109.98 33.87L110.11 33.99Q109.98 38.97 114.59 38.78L114.65 38.83L114.58 38.77Q116.68 38.96 118.03 37.40L118.13 37.50L118.04 37.42Q119.47 35.93 119.24 33.87L119.16 33.80L119.28 33.91Q119.12 31.20 118.24 30.17L118.23 30.16L118.27 30.20Q116.90 28.99 114.70 28.99ZM119.61 38.66L119.72 38.77L119.60 38.65Q118.51 41.21 113.83 41.21L113.76 41.14L112.43 41.27L112.37 41.21Q110.03 41.22 108.93 40.08L108.80 39.96L108.90 40.06Q107.83 38.99 107.56 36.59L107.66 36.68L107.62 36.64Q107.50 35.19 107.43 33.40L107.46 33.44L107.34 33.32Q107.36 32.38 107.21 30.44L107.15 30.38L107.12 30.35Q107.02 26.07 112.20 26.07L112.33 26.20L113.87 26.18L113.86 26.17Q116.66 26.08 118.76 27.37L118.87 27.48L118.75 27.37Q119.62 27.93 120.11 28.62L120.08 28.58L120.14 28.64Q120.41 27.84 120.94 26.21L120.95 26.21L120.92 26.19Q122.00 25.86 124.32 25.25L124.48 25.41L124.49 25.42Q121.85 29.59 121.85 34.84L121.77 34.77L121.84 34.84Q121.85 38.58 123.22 41.66L123.19 41.62L123.19 41.63Q122.09 41.37 120.19 41.14L120.15 41.10L120.21 41.16Q120.05 40.35 119.74 38.79ZM122.92 43.87L123.07 44.02L125.14 44.45L125.20 44.52Q126.35 44.75 127.34 45.20L127.32 45.19L127.39 45.26Q123.64 40.83 123.64 34.74L123.77 34.87L123.64 34.73Q123.73 30.29 125.86 26.49L125.89 26.51L125.79 26.42Q125.17 26.66 123.83 27.04L123.89 27.10L123.92 27.13Q124.23 26.34 125.11 24.82L125.09 24.80L125.04 24.74Q124.53 25.00 120.53 25.84L120.62 25.93L119.94 27.64L119.89 27.60Q118.16 25.90 113.75 25.68L113.69 25.62L113.76 25.69Q112.70 25.77 110.46 25.93L110.41 25.88L110.37 25.84Q106.77 26.27 106.88 30.31L106.92 30.34L106.82 30.25Q107.00 33.62 107.57 38.08L107.46 37.97L107.48 38.41L107.65 38.57Q107.70 39.35 108.50 40.45L108.46 40.42L108.51 40.46Q108.59 40.55 108.78 40.66L108.88 40.76L108.86 40.74Q109.04 41.15 109.42 41.72L109.53 41.83L109.49 41.79Q110.95 43.36 114.34 43.55L114.17 43.38L114.23 43.45Q115.98 43.67 116.14 43.67L116.08 43.62L117.61 43.59L117.64 43.62Q120.84 43.62 122.05 42.05L121.99 41.99L121.95 41.95Q122.28 42.55 122.89 43.84ZM116.50 31.25L116.34 31.09L116.42 31.16Q117.83 31.24 118.67 31.70L118.60 31.64L118.64 31.67Q118.95 32.48 118.95 33.92L118.90 33.87L118.83 33.80Q119.08 35.77 117.80 37.19L117.78 37.17L117.79 37.18Q116.53 38.62 114.62 38.43L114.64 38.44L114.64 38.45Q113.27 38.53 112.25 38.11L112.11 37.97L112.20 38.06Q111.90 37.12 111.90 35.90L111.91 35.91L111.87 35.86Q112.02 32.36 114.64 31.41L114.77 31.54L114.68 31.45Q115.56 31.11 116.36 31.11Z"></path><path fill="#222" d="M80.11 49.62L80.18 49.69L80.09 49.60Q82.94 45.67 85.83 39.47L85.84 39.48L85.84 39.47Q82.75 32.96 76.66 24.89L76.76 24.99L76.68 24.91Q78.65 26.12 81.43 26.76L81.33 26.67L81.43 26.76Q84.99 31.47 87.43 36.69L87.42 36.68L87.29 36.54Q89.46 31.26 92.55 26.84L92.57 26.87L92.52 26.82Q94.81 26.55 96.90 25.75L96.85 25.71L96.88 25.73Q93.49 29.57 90.02 37.00L89.95 36.92L87.19 43.00L87.18 42.98Q85.73 46.10 83.98 48.73L83.98 48.74L83.97 48.72Q81.60 49.13 80.15 49.66ZM86.26 50.94L86.19 50.86L86.37 51.05Q88.00 48.07 89.45 44.80L89.38 44.73L92.11 38.40L92.13 38.42Q95.76 30.51 99.07 26.51L98.92 26.36L99.00 26.44Q97.61 27.08 95.71 27.76L95.74 27.80L96.80 26.42L96.88 26.49Q97.32 25.68 97.93 25.00L98.02 25.08L97.97 25.04Q95.33 26.12 92.47 26.58L92.39 26.50L92.33 26.43Q89.72 30.49 87.78 34.94L87.76 34.92L87.66 34.83Q86.06 31.55 84.27 28.73L84.21 28.67L84.24 28.70Q84.06 28.71 83.70 28.68L83.82 28.80L83.74 28.71Q83.36 28.66 83.17 28.66L83.11 28.60L83.18 28.67Q82.34 27.34 81.39 26.20L81.51 26.32L81.49 26.29Q78.34 25.66 75.60 23.95L75.54 23.88L75.52 23.87Q81.86 31.96 85.55 39.57L85.49 39.50L85.45 39.47Q83.44 44.69 79.37 50.33L79.32 50.28L79.25 50.21Q80.09 49.94 80.89 49.79L80.85 49.76L82.60 49.52L82.55 49.47Q81.87 50.12 80.69 51.76L80.69 51.76L80.70 51.77Q82.91 51.09 86.19 50.86Z"></path></svg></span><button mat-mini-fab="" color="primary" class="mat-focus-indicator asfc-svg-captcha-refresh mat-mini-fab mat-button-base mat-primary"><span class="mat-button-wrapper"></span><span matripple="" class="mat-ripple mat-button-ripple mat-button-ripple-round"></span><span class="mat-button-focus-overlay"></span></button></div><div class="form ng-touched ng-dirty ng-invalid"><bwc-form-input-container class="login-element__indent bwc-form-input-container"><div class="ng-star-inserted"><mat-form-field class="mat-form-field ng-tns-c65-4 mat-primary mat-form-field-type-mat-input mat-form-field-appearance-legacy mat-form-field-can-float mat-form-field-has-label mat-form-field-hide-placeholder ng-untouched ng-pristine ng-invalid ng-star-inserted"><div class="mat-form-field-wrapper ng-tns-c65-4"><div class="mat-form-field-flex ng-tns-c65-4"><!----><!----><div class="mat-form-field-infix ng-tns-c65-4"><input matinput="" maxlength="25" autocapitalize="none" required="" class="mat-input-element mat-form-field-autofill-control login-captcha ng-tns-c65-4 ng-untouched ng-pristine ng-invalid cdk-text-field-autofill-monitored" id="mat-input-3" data-placeholder="Please enter the characters displayed above." aria-invalid="false" aria-required="true"><span class="mat-form-field-label-wrapper ng-tns-c65-4"><label class="mat-form-field-label ng-tns-c65-4 mat-empty mat-form-field-empty ng-star-inserted" id="mat-form-field-label-7" for="mat-input-3" aria-owns="mat-input-3"><span class="ng-tns-c65-4 ng-star-inserted">Please enter the characters displayed above.</span><!----><!----><!----><span aria-hidden="true" class="mat-placeholder-required mat-form-field-required-marker ng-tns-c65-4 ng-star-inserted"> *</span><!----></label><!----></span></div><!----></div><div class="mat-form-field-underline ng-tns-c65-4 ng-star-inserted"><span class="mat-form-field-ripple ng-tns-c65-4"></span></div><!----><div class="mat-form-field-subscript-wrapper ng-tns-c65-4"><!----><div class="mat-form-field-hint-wrapper ng-tns-c65-4 ng-trigger ng-trigger-transitionMessages ng-star-inserted" style="opacity: 1; transform: translateY(0%);"><!----><div class="mat-form-field-hint-spacer ng-tns-c65-4"></div></div><!----></div></div></mat-form-field></div><!----><!----></bwc-form-input-container></div></bw-svg-captcha></div><!----><!----></div><!----></div></bw-login><!----><div class="login-checkbox-remember-me-newux"><div class="login-btn-container-new login-form-continue-btn__center"><!----><button mat-raised-button="" color="accent" data-test="button-QCUpXk0XAP" class="mat-focus-indicator login-form-continue-btn login-form-cancel-btn-width-new mat-raised-button mat-button-base mat-accent mat-button-disabled" aria-label="Log in" disabled="true"><span class="mat-button-wrapper">Log in<!----><!----></span><span matripple="" class="mat-ripple mat-button-ripple"></span><span class="mat-button-focus-overlay"></span></button></div></div><div class="bwc-o-body login-forgot-password-container"><div class="ng-star-inserted"><span class="signup-question"> Don't have an account yet? </span><a tabindex="0" class="signup-options" aria-label="Don't have an account? Sign up now."> Create your account </a></div><!----><!----><div tabindex="0" class="need-help-new" aria-label="Need help?"> Need help? </div><!----><div class="bwc-o-body ng-star-inserted"><!----><a tabindex="0" class="login-other-options" aria-label="Forgot password">Forgot password <bwc-icon scale="1" class="login-forgot-password-new login-chevron__right login-chevron-new bwc-icon--chevron ng-star-inserted" cropped="true" style="font-size: 0.7rem;"><mat-icon role="img" class="mat-icon notranslate mat-primary" aria-hidden="true" data-mat-icon-type="svg" data-mat-icon-name="chevron-af"><svg height="100%" viewBox="0 0 16 10" width="100%" xmlns="http://www.w3.org/2000/svg" fit="" preserveAspectRatio="xMidYMid meet" focusable="false"><path d="m.942 7.526a1.513 1.513 0 0 0 0 2.05c.534.565 1.4.565 1.933 0l5.167-5.476 5.166 5.476c.535.565 1.4.565 1.933 0 .267-.284.4-.655.4-1.025a1.49 1.49 0 0 0 -.4-1.025l-7.099-7.526z" fill-rule="evenodd"></path></svg></mat-icon></bwc-icon><!----></a></div><!----><!----><div class="forgot-pass-link ng-star-inserted"></div><div class="bwc-o-body ng-star-inserted"><!----><a tabindex="0" class="login-other-options" aria-label="Forgot Flying Blue number?">Forgot Flying Blue number? <bwc-icon scale="1" class="login-forgot-password-new login-chevron__right login-chevron-new margin-forgot-fb bwc-icon--chevron ng-star-inserted" cropped="true" style="font-size: 0.7rem;"><mat-icon role="img" class="mat-icon notranslate mat-primary" aria-hidden="true" data-mat-icon-type="svg" data-mat-icon-name="chevron-af"><svg height="100%" viewBox="0 0 16 10" width="100%" xmlns="http://www.w3.org/2000/svg" fit="" preserveAspectRatio="xMidYMid meet" focusable="false"><path d="m.942 7.526a1.513 1.513 0 0 0 0 2.05c.534.565 1.4.565 1.933 0l5.167-5.476 5.166 5.476c.535.565 1.4.565 1.933 0 .267-.284.4-.655.4-1.025a1.49 1.49 0 0 0 -.4-1.025l-7.099-7.526z" fill-rule="evenodd"></path></svg></mat-icon></bwc-icon><!----></a></div><!----><!----></div><!----></div><!----></section></div></bw-normal-login><!----></main><footer role="contentinfo"><!----><!----></footer><bwc-sticky-spacer _nghost-hxl-c150="" style="height: 0px;"></bwc-sticky-spacer><!----></div></mat-sidenav-content><!----></mat-sidenav-container></bwc-page-template></main></asfc-app>
 
Последнее редактирование:

doc

Client
Регистрация
30.03.2012
Сообщения
8 608
Благодарностей
4 600
Баллы
113
пропиши для капчи атрибуты родительского элемента
 
  • Спасибо
Реакции: UNISELL

UNISELL

Client
Регистрация
26.10.2022
Сообщения
13
Благодарностей
5
Баллы
3
разобрался, боже аж стыдно)
 

Ilshakin

Client
Регистрация
14.02.2017
Сообщения
631
Благодарностей
543
Баллы
93
пару лет не брался за проекты, и тут уперся вроде в простейшую капчу,но зено не видит ее как капчу, а я не могу понять как получить ссылку на картинку.
или я все забыл, или что то изменилось)
за помощь готов отблагодарить на пивко)

Посмотреть вложение 110268


HTML:
<bw-svg-captcha controlname="simpleCaptcha"><div class="asfc-svg-content"><span class="asfc-svg-captcha"><svg xmlns="http://www.w3.org/2000/svg" width="150" height="50" viewBox="0,0,150,50"><path d="M14 40 C61 28,57 13,145 22" stroke="#777" fill="none"></path><path fill="#111" d="M29.71 39.94L29.72 39.95L29.60 39.83Q27.75 39.88 25.73 40.07L25.75 40.08L25.64 39.98Q26.28 34.72 26.28 29.89L26.22 29.83L26.34 29.94Q26.44 25.13 25.79 19.92L25.79 19.91L25.75 19.88Q21.15 19.46 17.95 17.79L17.90 17.74L17.24 16.05L17.20 16.00Q16.90 15.40 16.29 14.18L16.45 14.35L16.37 14.26Q21.53 17.03 27.55 17.22L27.50 17.17L27.35 17.02Q33.28 17.24 38.73 15.19L38.68 15.14L38.78 15.24Q38.01 16.60 37.36 18.43L37.34 18.41L37.37 18.43Q33.84 19.81 29.57 20.00L29.54 19.97L29.53 19.96Q29.41 25.06 29.41 30.01L29.24 29.83L29.32 29.92Q29.32 34.87 29.63 39.85ZM39.52 14.61L39.51 14.60L39.52 14.61Q33.68 16.88 27.48 16.69L27.37 16.58L27.34 16.56Q20.81 16.50 15.71 13.53L15.57 13.39L15.74 13.55Q16.37 14.72 17.67 18.00L17.63 17.96L17.72 18.05Q18.26 18.25 19.52 18.82L19.54 18.84L19.70 19.00Q19.89 19.64 20.23 21.17L20.25 21.19L20.31 21.25Q22.51 22.01 25.56 22.24L25.49 22.16L25.53 22.21Q25.98 25.96 25.98 29.73L26.01 29.77L25.85 29.60Q25.87 34.99 25.07 40.36L25.17 40.47L25.12 40.41Q26.89 40.39 27.42 40.39L27.38 40.35L27.41 40.37Q27.24 40.52 27.19 41.18L27.22 41.22L27.34 41.34Q27.32 42.04 27.32 42.38L27.12 42.18L27.27 42.33Q28.41 42.21 29.93 42.29L29.95 42.31L29.96 42.32Q30.85 42.34 32.68 42.49L32.65 42.46L32.68 42.49Q31.36 37.47 31.24 32.30L31.42 32.47L31.25 32.30Q31.27 27.15 31.80 22.24L31.72 22.15L31.68 22.11Q35.65 21.59 38.81 20.37L38.85 20.42L38.80 20.36Q39.51 17.99 40.54 15.93L40.59 15.98L40.46 15.85Q39.13 16.54 38.33 16.85L38.34 16.86L38.41 16.93Q38.84 15.65 39.42 14.51Z"></path><path fill="#333" d="M49.33 14.35L49.26 14.28L49.31 14.33Q51.81 16.00 53.56 16.41L53.51 16.36L53.53 16.37Q55.00 23.03 55.00 29.62L54.90 29.51L54.85 29.47Q54.95 33.56 54.41 37.55L54.43 37.58L54.48 37.62Q56.68 37.12 59.15 37.19L59.11 37.15L59.16 37.20Q61.45 37.10 63.59 37.82L63.58 37.82L63.59 37.82Q64.07 39.52 64.53 41.08L64.38 40.94L64.33 40.89Q60.96 39.54 57.12 39.80L57.24 39.92L57.18 39.87Q53.37 40.16 50.13 42.06L50.16 42.09L50.09 42.02Q52.38 35.25 52.11 28.25L51.99 28.12L52.04 28.17Q51.71 21.03 49.27 14.29ZM49.69 42.88L49.52 42.71L49.60 42.79Q50.27 42.40 51.65 41.68L51.71 41.75L51.64 41.67Q51.45 42.39 50.92 43.88L50.96 43.93L51.06 44.02Q54.52 42.26 58.36 42.26L58.36 42.26L58.25 42.15Q63.89 42.16 68.00 45.21L68.08 45.28L68.01 45.21Q67.50 43.86 66.47 40.89L66.33 40.76L66.46 40.89Q65.24 40.09 64.37 39.71L64.39 39.73L64.33 39.67Q64.37 39.13 64.06 37.73L64.00 37.67L63.88 37.55Q61.33 36.71 58.33 36.71L58.30 36.68L58.30 36.68Q57.55 36.69 56.75 36.73L56.87 36.85L56.80 36.78Q56.97 31.77 56.89 27.66L56.95 27.72L56.93 27.70Q56.96 23.69 56.61 18.70L56.65 18.74L56.52 18.60Q55.01 18.39 54.21 18.20L54.30 18.29L54.22 18.22Q54.10 17.49 53.88 16.08L54.04 16.24L53.98 16.18Q50.86 15.34 48.61 13.40L48.64 13.43L48.76 13.55Q51.42 20.55 51.69 28.05L51.64 28.01L51.60 27.96Q52.05 35.69 49.65 42.84Z"></path><path fill="#333" d="M114.72 29.01L114.55 28.84L114.57 28.86Q112.12 28.96 111.10 30.14L111.13 30.18L111.03 30.08Q110.06 31.32 110.06 33.95L109.98 33.87L110.11 33.99Q109.98 38.97 114.59 38.78L114.65 38.83L114.58 38.77Q116.68 38.96 118.03 37.40L118.13 37.50L118.04 37.42Q119.47 35.93 119.24 33.87L119.16 33.80L119.28 33.91Q119.12 31.20 118.24 30.17L118.23 30.16L118.27 30.20Q116.90 28.99 114.70 28.99ZM119.61 38.66L119.72 38.77L119.60 38.65Q118.51 41.21 113.83 41.21L113.76 41.14L112.43 41.27L112.37 41.21Q110.03 41.22 108.93 40.08L108.80 39.96L108.90 40.06Q107.83 38.99 107.56 36.59L107.66 36.68L107.62 36.64Q107.50 35.19 107.43 33.40L107.46 33.44L107.34 33.32Q107.36 32.38 107.21 30.44L107.15 30.38L107.12 30.35Q107.02 26.07 112.20 26.07L112.33 26.20L113.87 26.18L113.86 26.17Q116.66 26.08 118.76 27.37L118.87 27.48L118.75 27.37Q119.62 27.93 120.11 28.62L120.08 28.58L120.14 28.64Q120.41 27.84 120.94 26.21L120.95 26.21L120.92 26.19Q122.00 25.86 124.32 25.25L124.48 25.41L124.49 25.42Q121.85 29.59 121.85 34.84L121.77 34.77L121.84 34.84Q121.85 38.58 123.22 41.66L123.19 41.62L123.19 41.63Q122.09 41.37 120.19 41.14L120.15 41.10L120.21 41.16Q120.05 40.35 119.74 38.79ZM122.92 43.87L123.07 44.02L125.14 44.45L125.20 44.52Q126.35 44.75 127.34 45.20L127.32 45.19L127.39 45.26Q123.64 40.83 123.64 34.74L123.77 34.87L123.64 34.73Q123.73 30.29 125.86 26.49L125.89 26.51L125.79 26.42Q125.17 26.66 123.83 27.04L123.89 27.10L123.92 27.13Q124.23 26.34 125.11 24.82L125.09 24.80L125.04 24.74Q124.53 25.00 120.53 25.84L120.62 25.93L119.94 27.64L119.89 27.60Q118.16 25.90 113.75 25.68L113.69 25.62L113.76 25.69Q112.70 25.77 110.46 25.93L110.41 25.88L110.37 25.84Q106.77 26.27 106.88 30.31L106.92 30.34L106.82 30.25Q107.00 33.62 107.57 38.08L107.46 37.97L107.48 38.41L107.65 38.57Q107.70 39.35 108.50 40.45L108.46 40.42L108.51 40.46Q108.59 40.55 108.78 40.66L108.88 40.76L108.86 40.74Q109.04 41.15 109.42 41.72L109.53 41.83L109.49 41.79Q110.95 43.36 114.34 43.55L114.17 43.38L114.23 43.45Q115.98 43.67 116.14 43.67L116.08 43.62L117.61 43.59L117.64 43.62Q120.84 43.62 122.05 42.05L121.99 41.99L121.95 41.95Q122.28 42.55 122.89 43.84ZM116.50 31.25L116.34 31.09L116.42 31.16Q117.83 31.24 118.67 31.70L118.60 31.64L118.64 31.67Q118.95 32.48 118.95 33.92L118.90 33.87L118.83 33.80Q119.08 35.77 117.80 37.19L117.78 37.17L117.79 37.18Q116.53 38.62 114.62 38.43L114.64 38.44L114.64 38.45Q113.27 38.53 112.25 38.11L112.11 37.97L112.20 38.06Q111.90 37.12 111.90 35.90L111.91 35.91L111.87 35.86Q112.02 32.36 114.64 31.41L114.77 31.54L114.68 31.45Q115.56 31.11 116.36 31.11Z"></path><path fill="#222" d="M80.11 49.62L80.18 49.69L80.09 49.60Q82.94 45.67 85.83 39.47L85.84 39.48L85.84 39.47Q82.75 32.96 76.66 24.89L76.76 24.99L76.68 24.91Q78.65 26.12 81.43 26.76L81.33 26.67L81.43 26.76Q84.99 31.47 87.43 36.69L87.42 36.68L87.29 36.54Q89.46 31.26 92.55 26.84L92.57 26.87L92.52 26.82Q94.81 26.55 96.90 25.75L96.85 25.71L96.88 25.73Q93.49 29.57 90.02 37.00L89.95 36.92L87.19 43.00L87.18 42.98Q85.73 46.10 83.98 48.73L83.98 48.74L83.97 48.72Q81.60 49.13 80.15 49.66ZM86.26 50.94L86.19 50.86L86.37 51.05Q88.00 48.07 89.45 44.80L89.38 44.73L92.11 38.40L92.13 38.42Q95.76 30.51 99.07 26.51L98.92 26.36L99.00 26.44Q97.61 27.08 95.71 27.76L95.74 27.80L96.80 26.42L96.88 26.49Q97.32 25.68 97.93 25.00L98.02 25.08L97.97 25.04Q95.33 26.12 92.47 26.58L92.39 26.50L92.33 26.43Q89.72 30.49 87.78 34.94L87.76 34.92L87.66 34.83Q86.06 31.55 84.27 28.73L84.21 28.67L84.24 28.70Q84.06 28.71 83.70 28.68L83.82 28.80L83.74 28.71Q83.36 28.66 83.17 28.66L83.11 28.60L83.18 28.67Q82.34 27.34 81.39 26.20L81.51 26.32L81.49 26.29Q78.34 25.66 75.60 23.95L75.54 23.88L75.52 23.87Q81.86 31.96 85.55 39.57L85.49 39.50L85.45 39.47Q83.44 44.69 79.37 50.33L79.32 50.28L79.25 50.21Q80.09 49.94 80.89 49.79L80.85 49.76L82.60 49.52L82.55 49.47Q81.87 50.12 80.69 51.76L80.69 51.76L80.70 51.77Q82.91 51.09 86.19 50.86Z"></path></svg></span><button mat-mini-fab="" color="primary" class="mat-focus-indicator asfc-svg-captcha-refresh mat-mini-fab mat-button-base mat-primary"><span class="mat-button-wrapper"></span><span matripple="" class="mat-ripple mat-button-ripple mat-button-ripple-round"></span><span class="mat-button-focus-overlay"></span></button></div><div class="form ng-touched ng-dirty ng-invalid"><bwc-form-input-container class="login-element__indent bwc-form-input-container"><div class="ng-star-inserted"><mat-form-field class="mat-form-field ng-tns-c65-4 mat-primary mat-form-field-type-mat-input mat-form-field-appearance-legacy mat-form-field-can-float mat-form-field-has-label mat-form-field-hide-placeholder ng-untouched ng-pristine ng-invalid ng-star-inserted"><div class="mat-form-field-wrapper ng-tns-c65-4"><div class="mat-form-field-flex ng-tns-c65-4"><!----><!----><div class="mat-form-field-infix ng-tns-c65-4"><input matinput="" maxlength="25" autocapitalize="none" required="" class="mat-input-element mat-form-field-autofill-control login-captcha ng-tns-c65-4 ng-untouched ng-pristine ng-invalid cdk-text-field-autofill-monitored" id="mat-input-3" data-placeholder="Please enter the characters displayed above." aria-invalid="false" aria-required="true"><span class="mat-form-field-label-wrapper ng-tns-c65-4"><label class="mat-form-field-label ng-tns-c65-4 mat-empty mat-form-field-empty ng-star-inserted" id="mat-form-field-label-7" for="mat-input-3" aria-owns="mat-input-3"><span class="ng-tns-c65-4 ng-star-inserted">Please enter the characters displayed above.</span><!----><!----><!----><span aria-hidden="true" class="mat-placeholder-required mat-form-field-required-marker ng-tns-c65-4 ng-star-inserted"> *</span><!----></label><!----></span></div><!----></div><div class="mat-form-field-underline ng-tns-c65-4 ng-star-inserted"><span class="mat-form-field-ripple ng-tns-c65-4"></span></div><!----><div class="mat-form-field-subscript-wrapper ng-tns-c65-4"><!----><div class="mat-form-field-hint-wrapper ng-tns-c65-4 ng-trigger ng-trigger-transitionMessages ng-star-inserted" style="opacity: 1; transform: translateY(0%);"><!----><div class="mat-form-field-hint-spacer ng-tns-c65-4"></div></div><!----></div></div></mat-form-field></div><!----><!----></bwc-form-input-container></div></bw-svg-captcha></div><!----><!----></div><!----></div></bw-login><!----><div class="login-checkbox-remember-me-newux"><div class="login-btn-container-new login-form-continue-btn__center"><!----><button mat-raised-button="" color="accent" data-test="button-QCUpXk0XAP" class="mat-focus-indicator login-form-continue-btn login-form-cancel-btn-width-new mat-raised-button mat-button-base mat-accent mat-button-disabled" aria-label="Log in" disabled="true"><span class="mat-button-wrapper">Log in<!----><!----></span><span matripple="" class="mat-ripple mat-button-ripple"></span><span class="mat-button-focus-overlay"></span></button></div></div><div class="bwc-o-body login-forgot-password-container"><div class="ng-star-inserted"><span class="signup-question"> Don't have an account yet? </span><a tabindex="0" class="signup-options" aria-label="Don't have an account? Sign up now."> Create your account </a></div><!----><!----><div tabindex="0" class="need-help-new" aria-label="Need help?"> Need help? </div><!----><div class="bwc-o-body ng-star-inserted"><!----><a tabindex="0" class="login-other-options" aria-label="Forgot password">Forgot password <bwc-icon scale="1" class="login-forgot-password-new login-chevron__right login-chevron-new bwc-icon--chevron ng-star-inserted" cropped="true" style="font-size: 0.7rem;"><mat-icon role="img" class="mat-icon notranslate mat-primary" aria-hidden="true" data-mat-icon-type="svg" data-mat-icon-name="chevron-af"><svg height="100%" viewBox="0 0 16 10" width="100%" xmlns="http://www.w3.org/2000/svg" fit="" preserveAspectRatio="xMidYMid meet" focusable="false"><path d="m.942 7.526a1.513 1.513 0 0 0 0 2.05c.534.565 1.4.565 1.933 0l5.167-5.476 5.166 5.476c.535.565 1.4.565 1.933 0 .267-.284.4-.655.4-1.025a1.49 1.49 0 0 0 -.4-1.025l-7.099-7.526z" fill-rule="evenodd"></path></svg></mat-icon></bwc-icon><!----></a></div><!----><!----><div class="forgot-pass-link ng-star-inserted"></div><div class="bwc-o-body ng-star-inserted"><!----><a tabindex="0" class="login-other-options" aria-label="Forgot Flying Blue number?">Forgot Flying Blue number? <bwc-icon scale="1" class="login-forgot-password-new login-chevron__right login-chevron-new margin-forgot-fb bwc-icon--chevron ng-star-inserted" cropped="true" style="font-size: 0.7rem;"><mat-icon role="img" class="mat-icon notranslate mat-primary" aria-hidden="true" data-mat-icon-type="svg" data-mat-icon-name="chevron-af"><svg height="100%" viewBox="0 0 16 10" width="100%" xmlns="http://www.w3.org/2000/svg" fit="" preserveAspectRatio="xMidYMid meet" focusable="false"><path d="m.942 7.526a1.513 1.513 0 0 0 0 2.05c.534.565 1.4.565 1.933 0l5.167-5.476 5.166 5.476c.535.565 1.4.565 1.933 0 .267-.284.4-.655.4-1.025a1.49 1.49 0 0 0 -.4-1.025l-7.099-7.526z" fill-rule="evenodd"></path></svg></mat-icon></bwc-icon><!----></a></div><!----><!----></div><!----></div><!----></section></div></bw-normal-login><!----></main><footer role="contentinfo"><!----><!----></footer><bwc-sticky-spacer _nghost-hxl-c150="" style="height: 0px;"></bwc-sticky-spacer><!----></div></mat-sidenav-content><!----></mat-sidenav-container></bwc-page-template></main></asfc-app>
C#:
HtmlElement captcha = instance.ActiveTab.FindElementByXPath("//*[name() = 'svg' and @width='150']", 0);
string tempPath = Path.Combine(project.Directory, $"{new string(Guid.NewGuid().ToString("n").Take(20).ToArray())}.png");
ZennoPoster.ImageProcessingCropFromScreenshot(instance.Port, tempPath, int.Parse(captcha.GetAttribute("leftInBrowser")), int.Parse(captcha.GetAttribute("topInBrowser")), captcha.Width, captcha.Height, "pixel");
Thread.Sleep(1000);
string b64captcha = Convert.ToBase64String(File.ReadAllBytes(tempPath));
if(File.Exists(tempPath)) File.Delete(tempPath);
return ZennoPoster.CaptchaRecognition("CapMonsterCloud.dll", b64captcha, null).Split(new [] {"-|-"}, StringSplitOptions.RemoveEmptyEntries)[0].Trim();
 
  • Спасибо
Реакции: UNISELL

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)